ImageGear .NET v24.12 - Updated
ResolutionUnit Property (ImGearTIFFMetadata)




ImageGear24.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.TIF Namespace > ImGearTIFFMetadata Class : ResolutionUnit Property
Gets or sets ResolutionUnit tag value.
Syntax
'Declaration
 
Public Property ResolutionUnit As Nullable(Of ImGearTIFFResolutionUnit)
'Usage
 
Dim instance As ImGearTIFFMetadata
Dim value As Nullable(Of ImGearTIFFResolutionUnit)
 
instance.ResolutionUnit = value
 
value = instance.ResolutionUnit
public Nullable<ImGearTIFFResolutionUnit> ResolutionUnit {get; set;}
public: __property Nullable<ImGearTIFFResolutionUnit> get_ResolutionUnit();
public: __property void set_ResolutionUnit( 
   Nullable<ImGearTIFFResolutionUnit> value
);
public:
property Nullable<ImGearTIFFResolutionUnit> ResolutionUnit {
   Nullable<ImGearTIFFResolutionUnit> get();
   void set (    Nullable<ImGearTIFFResolutionUnit> value);
}

Property Value

Nullable (boxed) ImGearTIFFResolutionUnit enumeration value.
Remarks
This property accesses the ResolutionUnit tag. The tag specifies the unit of measurement for XResolution and YResolution.

Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

ImageGear ignores the value of this tag during image saving, and saves a value that corresponds to the saved image DIB's parameters.

See the TIFF 6.0 specification for tag usage details.

See Also

Reference

ImGearTIFFMetadata Class
ImGearTIFFMetadata Members
ImGearTIFFResolutionUnit Enumeration