TextHeight property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int TextHeight

Delphi Syntax

TextHeight: Integer

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 DrawTextStr 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:

DrawTextStr method

Topics:

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage