ImageGear.Web.Isis Library > ImageGear.Web.Isis Namespace > ImGearIsisScanner class : setTagInteger Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function setTagInteger( tagID : number(Integer), tagInteger : number(Integer), index : number(Integer), callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScanner.setTagInteger(number(Integer),number(Integer),number(Integer),function); |
The JavaScript code below demonstrates how to set the scanner ISIS scan type tag to an integer value of 0 (which represents automatic scan type for some scanners). You can use the getTag method to get the tag type and list or range of supported values for a tag.
function setTagCallback(status) { if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) { alert(status.get_statusMessage()); } } scannerSession.get_scanner().setTagInteger(ImageGear.Web.Isis.ImGearIsisTag.ScanType, 0, 0, setTagCallback);
This is an asynchronous method.
To set the values of multiple tags, it is more efficient to use setAllTags.
The scanner must be set before calling this method.
For more information on ISIS tags, refer to the ISIS Tags topic.