ImageGear for C and C++ on Windows v19.4 - Updated
IG_ISIS_TAG_IMAGEWIDTH
API Reference Guide > ISIS Component API Reference > ISIS Component Tags Reference > Position and Resolution Tags > IG_ISIS_TAG_IMAGEWIDTH

Number of columns in the image. 0x0100 256

IG_ISIS_TAG_IMAGEWIDTH contains the number of columns of pixels (width) in an image.

Type:

IG_ISIS_TAG_TYPE_LONG

Drivers:

All source and destination drivers, any many compression drivers.

Values:

An integer specifying the number of columns of pixels in the image (View: from 1 to IG_ISIS_TAG_IMAGEWIDTH_MAX).

Tag Dependencies and Dependent Tags:

IG_ISIS_TAG_IMAGEWIDTH is reset to the full width of the page when several other tags are set; therefore the following dependencies must be observed:

IG_ISIS_TAG_PAGESIZE  IG_ISIS_TAG_XRESOLUTION  IG_ISIS_TAG_YRESOLUTION  IG_ISIS_TAG_XPOSITION  IG_ISIS_TAG_YPOSITION  IG_ISIS_TAG_IMAGEWIDTH  IG_ISIS_TAG_IMAGELENGTH

Remarks:

IG_ISIS_TAG_IMAGEWIDTH is required by a number of image viewing applications as well as file writing drivers and any other processes that need to know the number of columns in the image.

Many scanners can only scan areas with widths that are divisible by eight, or some other number. You must use IG_ISIS_choice_get_long(lpDriver, IG_ISIS_TAG_IMAGEWIDTH, IG_ISIS_CHOICE_STEP, lplValue) to determine the minimum increment.

See Also

IG_ISIS_TAG_PAGESIZE

IG_ISIS_TAG_IMAGELENGTH

IG_ISIS_TAG_XRESOLUTION

IG_ISIS_TAG_XPOSITION