ImageGear.Web.Isis Library > ImageGear.Web.Isis Namespace > ImGearIsisScanner class : showUI Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function showUI( callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScanner.showUI(function); |
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);
This is an asynchronous method.
The scanner must be set before calling this method.