ImageGear .NET v25.0 - Updated
XResolution Property (ImGearTIFFMetadata)




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

Property Value

Nullable (boxed) ImageGear.Core.ImGearRationalUInt structure value.
Remarks
This property accesses the XResolution tag. The tag specifies the number of pixels per ResolutionUnit in the ImageWidth (typically, horizontal - see Orientation) direction.

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
ImGearRationalUInt Structure