ImageGear for C and C++ on Windows v20.1 - Updated
AT_RESOLUTION
API Reference Guide > Core Component API Reference > Core Component Structures Reference > AT_RESOLUTION

This struct describes an image's resolution. This information is used to map between a number of pixels and a physical length measurement. For example, if you have an image that is 600 pixels wide, and the horizontal resolution is specified as 300 DPI (dots per inch, IG_RESOLUTION_INCHES), then the image should be 2 inches wide when printed.

 
Copy Code
LONG     xResNumerator, 
LONG     xResDenominator, 
LONG     yResNumerator, 
LONG     yResDenominator
AT_LMODE nUnits;

Members:

Name Type Description
xResNumerator  LONG Numerator for horizontal resolution. This number is divided by xResDenominator to determine the horizontal resolution.
xResDenominator LONG Denominator for horizontal resolution. Divide this number into xResNumerator to determine the horizontal resolution.
yResNumerator LONG Numerator for vertical resolution. This number is divided by yResDenominator to determine the vertical resolution.
yResDenominator LONG Denominator for vertical resolution. Divide this number into yResNumerator to determine the vertical resolution.
nUnits AT_LMODE Unit type for the resolution. One of the values from enumIGResolutionUnits.

See Also

IG_image_resolution_get()

IG_image_resolution_set()

Is this page helpful?
Yes No
Thanks for your feedback.