ImageGear Professional v18.2 > API Reference Guide > ISIS Component API Reference > ISIS Component Tags Reference > Scanning Mode Tags > IG_ISIS_TAG_SCANORIENTATION |
Orientation in which to scan. 0x0113 ∙ 275
IG_ISIS_TAG_SCANORIENTATION indicates the orientation of a page in a scanner's feeder.
IG_ISIS_TAG_TYPE_SHORT
Drivers for scanners that support reporting of document feeder page orientation.
IG_ISIS_TAG_SCANORIENTATION can be set to any one of the following values:
Value | Defined Constant | Meaning |
1 | IG_ISIS_ORIENTATION_PORT | The image data is in portrait orientation. |
2 | IG_ISIS_ORIENTATION_LAND | The image data is in landscape orientation. |
3 | IG_ISIS_ORIENTATION_180 | The image data is in upside-down portrait orientation. |
4 | IG_ISIS_ORIENTATION_270 | The image data is in upside-down landscape orientation. |
5 | IG_ISIS_ORIENTATION_PORTM | The image data is in portrait mirrored orientation. |
6 | IG_ISIS_ORIENTATION_LANDM | The image data is in landscape mirrored orientation. |
7 | IG_ISIS_ORIENTATION_180M | In ISIS, the image data is in upside down portrait, mirrored orientation. |
8 | IG_ISIS_ORIENTATION_270M | The image data is in upside down landscape, mirrored orientation. |
Some scanners have the ability to detect the orientation of a page in the feeder, and can pass this information along in IG_ISIS_TAG_SCANORIENTATION. Your application can use this information to, for example, scan only 8.5 inches of a landscape letter-sized page rather than scanning 17 inches and then cropping the data.