PaintSizeUseDPI property (ILEADRasterView)
BOOL PaintSizeUseDPI | |
Overview |
Refer to Displaying an Image. |
Remarks
(Persistent property, available at design time) Gets or sets a value that indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap. Possible values are:
Value |
Meaning |
TRUE |
Account for the physical resolution. |
FALSE |
Do not account for the physical resolution. |
The physical resolution of a bitmap is measured in dots per inch (DPI). When you load an image, the BitmapXRes and BitmapYRes properties are updated with the DPI values for the horizontal and vertical resolution. Some images have different horizontal and vertical resolutions (for example: 300 by 600). In such cases, the displayed images will appear elongated if you do not account for the resolution.
If the values of the BitmapXRes property and the BitmapYRes property are not equal, set the PaintSizeUseDPI property to TRUE to have LEAD's automated scaling properties account for the physical resolution of the bitmap. These automated scaling properties include:
See Also