ImageGear for .NET
showUI Method

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

Example

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

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

Reference

ImGearIsisScanner class
ImGearIsisScanner Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback