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.The JavaScript code below demonstrates how to show the scanner user interface:
JavaScript | Copy Code |
---|---|
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.