This property refers to the image orientation viewed in terms of rows and columns. The property value can be retrieved by executing the File.GetImageFileType or the File.GetImageFileTypeFromRawData method.

[Visual Basic] Public ReadOnly Property MainOrientation As Integer
[C#] public int MainOrientation {get;}

Property Value

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

Explanation

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

The property value can be retrieved by executing the File.GetImageFileType or the File.GetImageFileTypeFromRawData method.

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

See Also

ImageKit.File.Exif Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation