ImageGear .NET v25.2 - Updated
ImageGear.Web.Isis Library / ImageGear.Web.Isis Namespace / ImGearIsisScanner class / setAllTags Method

In This Topic
    setAllTags Method
    In This Topic
    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