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.

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

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 FileIO.GetImageFileType or the FileIO.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 VCL is a product created by Newtone Corporation