ASP.NET Ajax Javascript (Specification) | |
---|---|
function setAllTags( settings : string, callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScanner.setAllTags(string,function); |
Parameters
- settings
- The string to configure the scanner with. This is usually obtained from an earlier call to getAllTags.
- callback
- Callback which is called when all tags are set.
Return Value
ImGearIsisOperationStatus value.The JavaScript code below demonstrates how to set the scanner ISIS tags, where scannerSettings is a settings string previously obtained using the getAllTags method:
JavaScript | Copy Code |
---|---|
function setAllTagsCallback(status) { if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) { alert(status.get_statusMessage()); } } scannerSession.get_scanner().setAllTags(scannerSettings, setAllTagsCallback); |
This is an asynchronous method.
The scanner must be set before calling this method.