ImageGear for .NET
showUI Method
See Also  "Example" Send comments on this topic.
ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace > ImGearIsisScanner Class : showUI Method

callback
Callback which is called when the UI shows.

Glossary Item Box

Displays the configuration window for the currently loaded scanner.

Syntax

ASP.NET Ajax Javascript (Specification) 
function showUI( 
   callback : function
) : ImGearIsisOperationStatus;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearIsisScanner.showUI(function);

Parameters

callback
Callback which is called when the UI shows.

Return Value

ImGearIsisOperationStatus value.

Example

The JavaScript code below demonstrates how to show the scanner user interface:

JavaScriptCopy Code
function showUICallback(status) {
    if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) {
        alert(status.get_statusMessage());
    }
}

scannerSession.get_scanner().showUI(showUICallback);

Remarks

This is an asynchronous method.

The scanner must be set before calling this method.

See Also

©2013. Accusoft Corporation. All Rights Reserved.