PaintSizeUseDPI property (Main Control)
Builder Syntax |
bool PaintSizeUseDPI |
Delphi Syntax |
PaintSizeUseDPI: Boolean |
Overview |
Refer to Displaying an Image. |
Remarks
(Persistent property, available at design time) Determines whether the automated scaling methods and properties account for the physical resolution of the bitmap.
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.
Value |
Meaning |
TRUE |
Account for the physical resolution. |
FALSE |
Do not account for the physical resolution. |
See Also
Topics: |