This property refers to the units of measurement for focal plane resolution and the units of measurement for resolution in the primary and thumbnail images.

[Visual Basic]   imagekitcontrolname.File.Exif.MainResolutionUnit[ = Integer ]
[Visual C++]     [ short = ]imagekitcontrolname.GetFile().GetExif().GetMainResolutionUnit()
                      imagekitcontrolname.GetFile().GetExif().SetMainResolutionUnit(short Val)
[VB.NET]   imagekitcontrolname.File.Exif.MainResolutionUnit[ = Short ]
[C#.NET]   imagekitcontrolname.File.Exif.MainResolutionUnit[ = short ]

Reference

The MainResolutionUnit is the unit for measuring XResolution and YResolution in the primary image.

The MainResolutionUnit is MainXResolution0 / MainXResolution1 and MainYResolution0 / MainYResolution1

Value Explanation
2 Inches
3 Centimeters

Explanation

The MainResolutionUnit property refers to the units of measurement for focal plane resolution and the units of measurement for resolution in the primary and thumbnail images.

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

The property value is derived from the image tags related to the picture taking conditions.

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 ActiveX is a product created by Newtone Corporation