TextHeight property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax float TextHeight

Overview:  Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the height of the rectangle in which a text object is positioned. You specify the rectangle and other aspects of the text object using related properties described in Drawing Three-Dimensional Shapes and Text.

The DrawText method draws the text object in the control's client area or on the current bitmap.

Whether you draw to the screen or to the bitmap, text objects are always positioned in the Main Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates.

See Also

Elements:  DrawText method

Topics:  Raster Images: Drawing on a Bitmap
Working with the Control: Client Area Usage