TextAlign property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short TextAlign

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 DrawText 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:  DrawText method

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