ImageGear for C and C++ on Windows v20.0 - Updated
enumIGOrientationModes
API Reference Guide > Core Component API Reference > Core Component Enumerations Reference > enumIGOrientationModes

Identifies how the image is oriented before it is drawn on the output device. Possible values are determined by the constants of the form IG_DSPL_ORIENT_X_Y, where each of X and Y can be LEFT, TOP, RIGHT or BOTTOM. X represents the position of the topmost row of the bitmap after applying the transformation. Y represents the position of the left-most column of the bitmap after applying the transformation.

For example, IG_DSPL_ORIENT_RIGHT_TOP means that the left-most column becomes the image's new topmost row, and that the topmost row becomes the image's new right-most column. The image, therefore, is rotated on 90 degrees.

Values:

IG_DSPL_ORIENT_BOTTOM_LEFT The image is flipped vertically.
IG_DSPL_ORIENT_BOTTOM_RIGHT The image is rotated 180 degrees.
IG_DSPL_ORIENT_LEFT_BOTTOM The image is rotated 270 degrees.
IG_DSPL_ORIENT_LEFT_TOP The image is rotated 270 degrees and then flipped vertically.
IG_DSPL_ORIENT_RIGHT_BOTTOM The image is rotated 90 degrees and then flipped vertically.
IG_DSPL_ORIENT_RIGHT_TOP The image is rotated 90 degrees.
IG_DSPL_ORIENT_TOP_LEFT The image is displayed unchanged.
IG_DSPL_ORIENT_TOP_RIGHT The image is flipped horizontally.
Is this page helpful?
Yes No
Thanks for your feedback.