Control Reference > VSDraw Control > VSDraw Properties > TextAlign Property (VSDraw) |
Returns or sets the text alignment.
[form!]VSDraw.TextAlign[ = DrawTextAlignSettings ]
The settings for the TextAlign property are described below:
Constant |
Value |
Description |
tadLeft |
0 |
Text is left-aligned. The string starts at the position specified by the X1 property. |
tadCenter |
1 |
Text is center-aligned. The middle of the string line up with the position specified by the X1 property. |
tadRight |
2 |
Text is right-aligned. The string ends at the position specified by the X1 property. |
DrawTextAlignSettings (Enumeration)