ImageEn, unit iexBitmaps

TIOParams.EXIF_XResolution

TIOParams.EXIF_XResolution


Declaration

property EXIF_XResolution: Double;


Description

Returns the horizontal resolution of the image. The default value is 1/72 inch (one "point"), but it is largely meaningless as personal computers typicaly don't use this value for display/printing.

Note: Use EXIF_XResolution2 for easier access to the value.


See Also

- EXIF_YResolution
- EXIF_ResolutionUnit
- EXIF_XResolution2


Example

// Get as string value
sExifXResolution := DoubleToFraction( ImageEnView1.IO.Params.EXIF_XResolution );

// Write string value
// Note: Assumes a value formatted as a fraction, e.g. '1/72'
ImageEnView1.IO.Params.EXIF_XResolution := FractionToDouble( sExifXResolution );