ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace > ImGearIsisScanner class : setAllTags Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function setAllTags( settings : string, callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScanner.setAllTags(string,function); |
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);
This is an asynchronous method.
The scanner must be set before calling this method.