Resolution property

This property specifies image resolution in dots per inch (DPI). After this property is set, the newly created image will have specified resolution information. This feature can be necessary for creating images for printing.
The zero value (default state) means the image will have default resolution (as a rule, 72dpi).

Note

Not all image formats support this feature. In ShotGraph it works on JPEG and PNG images only (JpegImage and PngImage methods).

Example

......................
Set g = CreateObject("shotgraph.image")
......................
' Set image resolution to 300dpi
g.Resolution = 300
g.JpegImage 90,0,path_to_file
......................
......................