Available in the LEADTOOLS Imaging toolkit. |
DrawPersistence property (Main Control)
Visual Basic example
Visual C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ example
Syntax BOOL DrawPersistence
Overview: Refer to Drawing Simple Objects and Drawing Three-Dimensional Shapes and Text.
Remarks
(Persistent property, available at design time) Determines whether drawing objects are drawn on the screen or on the bitmap. When drawing text to the bitmap, the best quality is achieved when the image is not scaled (when PaintSizeMode = PAINTSIZEMODE_NORMAL).
Whether you draw to the screen or to the bitmap, drawing objects are always positioned in the Main Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates.
Value |
Meaning |
TRUE |
Draw to the bitmap. |
FALSE |
Draw to the screen. |
See Also
Topics: Working
with the Control: Client Area Usage
Raster Images: Drawing on a Bitmap
Examining and Altering Bitmaps