This property refers to the image orientation viewed in terms of rows and columns.

[C++Builder]   imagekitcontrolname->FileIO->Exif->MainOrientation[ = short ]
[Delphi]   imagekitcontrolname.FileIO.Exif.MainOrientation[ = Smallint ]

Reference

Value Explanation
1 Row 0 is at the visible top of the image, and column 0 is the visible left hand side
2 Row 0 is at the visible top of the image, and column 0 is the visible right hand side
3 Row 0 is at the visible bottom of the image, and column 0 is the visible right hand side
4 Row 0 is at the visible bottom of the image, and column 0 is the visible left hand side
5 Row 0 is at the visible left hand side of the image, and column 0 is the visible top
6 Row 0 is at the visible right hand side of the image, and column 0 is the visible top
7 Row 0 is at the visible right hand side of the image, and column 0 is the visible bottom
8 Row 0 is at the visible left hand side of the image, and column 0 is the visible bottom

Explanation

The MainOrientation property refers to the image orientation viewed in terms of rows and columns.

The property value can be set or retrieved by executing the FileIO.GetImageFileType or the FileIO.GetImageFileTypeMem methods.

The property value is derived from the image tags relating to primary image data structure.

Setting this value

This value can be set at runtime.

Retrieving this value

This value can be retrieved at runtime.

[Differences from the ImageKit7 ActiveX]

In the IK7 this was a read only property. It can now be set.

 

The ImageKit10 VCL is a product created by Newtone Corporation