Picture.HorizontalResolution
From Xojo Documentation
Property (As Integer )
aPicture.HorizontalResolution = newIntegerValue
or
IntegerValue = aPicture.HorizontalResolution
Supported for all project types and targets.
or
IntegerValue = aPicture.HorizontalResolution
Supported for all project types and targets.
The horizontal resolution of the picture.
Notes
The horizontal resolution is established when you use the Open shared method and written out when using the Save method. When creating a picture, the default resolution is 72 (pixels).
To get the actual picture resolution for an opened picture file on Linux, gtk+ 2.32 or later is required. |
Example
This example gets the horizontal and vertical resolution of the Picture that was opened: