MDM_EXIF_MAIN.ResolutionUnit Property

FreeImage.NET

MDM_EXIF_MAINResolutionUnit Property
Gets or sets the unit for measuring XResolution and YResolution. The same unit is used for both XResolution and YResolution. If the image resolution in unknown, 2 (inches) is designated. See remarks for further information.

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public Nullable<ushort> ResolutionUnit { get; set; }

Property Value

Type: NullableUInt16
Remarks
The following values are definied:

IDDescription
2inches
3YCbCr4:2:0
othercentimeters


Handling of null values

A null value indicates, that the corresponding metadata tag is not present in the metadata model. Setting this property's value to a non-null reference creates the metadata tag if necessary. Setting this property's value to a null reference deletes the metadata tag from the metadata model.

See Also