DrawPersistence property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool DrawPersistence

Delphi Syntax

DrawPersistence: Boolean

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 = smNormal).

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