ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis_namespace > ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis.ImGearIsisScanner : unload Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function unload( callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScanner.unload(function); |
The JavaScript code below demonstrates how to unload a scanner:
function unloadScannerCallback(status) { if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) { alert(status.get_statusMessage()); } } scannerSession.get_scanner().unload(unloadScannerCallback);
This is an asynchronous method.
You can use this method to release the scanner for use by a different application when you no longer need to scan new images. You might do this if your application performs lengthy post-scanning operations that require the session to remain open.
ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis.ImGearIsisScanner
ImGearIsisScanner Members