ImageGear for .NET
setAllTags Method

Configures the scanner in use with the specified setting string.
Syntax
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

Example

The JavaScript code below demonstrates how to set the scanner ISIS tags, where scannerSettings is a settings string previously obtained using the getAllTags method:

function setAllTagsCallback(status) {
    if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) {
        alert(status.get_statusMessage());
    }
}

scannerSession.get_scanner().setAllTags(scannerSettings, setAllTagsCallback);
Remarks

This is an asynchronous method.

The scanner must be set before calling this method.

See Also

Reference

ImGearIsisScanner class
ImGearIsisScanner Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback