ImageGear for .NET
setAllTags Method
See Also  "Example" Send comments on this topic.
ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace > ImGearIsisScanner Class : setAllTags Method

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.

Glossary Item Box

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

ImGearIsisOperationStatus 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:

JavaScriptCopy Code
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

©2013. Accusoft Corporation. All Rights Reserved.