ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Formats.TIF Namespace / ImGearTIFFMetadata Class / XResolution Property




In This Topic
XResolution Property (ImGearTIFFMetadata)
In This Topic
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

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