TextAlign property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TTextAlign TextAlign

Delphi Syntax

TextAlign: TTextAlign

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the alignment of a text object within a rectangle. 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.

For a list of possible values of the TextAlign property, refer to TextAlign Effects.

See Also

Elements:

DrawTextStr method

Topics:

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage