Specifies the alignment of text on the drawing surface.
The following tables list the members exposed by the TextAlignment type.
Name | Description | |
---|---|---|
![]() ![]() |
For internal use only. |
|
![]() ![]() |
Text is vertically aligned at the bottom, and horizontally aligned at the center. |
|
![]() ![]() |
Text is vertically aligned at the bottom, and horizontally aligned on the left. |
|
![]() ![]() |
Text is vertically aligned at the bottom, and horizontally aligned on the right. |
|
![]() ![]() |
Text is vertically aligned in the middle, and horizontally aligned at the center. |
|
![]() ![]() |
Text is vertically aligned in the middle, and horizontally aligned on the left. |
|
![]() ![]() |
Text is vertically aligned in the middle, and horizontally aligned on the right. |
|
![]() ![]() |
The only flag that can be combines with any of the alignment flags. Specifies that the drawn text should not wrap when the text does not fit in a single line. |
|
![]() ![]() |
Text is vertically aligned at the top, and horizontally aligned at the center. |
|
![]() ![]() |
Text is vertically aligned at the top, and horizontally aligned on the left. |
|
![]() ![]() |
Text is vertically aligned at the top, and horizontally aligned on the right. |