Available in the LEADTOOLS Imaging toolkit. |
BitmapXRes property (Main Control)
Visual Basic
example
Visual C++ 4.0 example
Visual J++ example
Syntax short BitmapXRes
Overview: Refer to Examining and Altering Bitmaps.
Remarks
Dots per inch in the width direction.
This value is commonly used for printing. Loading an image from a file updates this property, using the value stored in the file.
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:
AutoScroll property
See Also
Elements: BitmapBits property, BitmapHeight property, BitmapWidth property, BitmapYRes property, GetColorCount method, AutoRepaint property, AutoScroll property, AutoSetRects property, AutoSize property, DstHeight property, DstLeft property, DstTop property, DstWidth property, PaintSizeMode property, PaintZoomFactor property