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.ImGearIsisScannerSession : destroy Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function destroy( callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScannerSession.destroy(function); |
The JavaScript code below demonstrates how to destroy a scanner session:
function destroyCallback(status) { if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) { alert(status.get_statusMessage()); } } scannerSession.destroy(destroyCallback);
This is an asynchronous method.
ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis.ImGearIsisScannerSession
ImGearIsisScannerSession Members