Sets the value of an ISIS tag of data type Rational.
The JavaScript code below demonstrates how to set the scanner ISIS X resolution tag to a rational value of 300/1. 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().setTagRational(ImageGear.Web.Isis.ImGearIsisTag.XResolution, 300, 1, 0, setTagCallback);