TextAlignment Enum
How the lines of a text are placed in the width of its layout.
public enum TextAlignmentFields
| Name | Value | Description |
|---|---|---|
Start | 0 | At the side a line starts from: the left for a left-to-right paragraph, the right for a right-to-left one. |
Center | 1 | Centered. |
End | 2 | At the side a line ends at: the right for a left-to-right paragraph, the left for a right-to-left one. |
Justify | 3 | Each line is stretched to the width of the layout, except the last line of a paragraph and a line that cannot be stretched, which are aligned as with TextAlignment.Start. By default, the room is shared by the U+0020 spaces and the U+00A0 no-break spaces of the line; TextLayoutOptions.Justification also adds it between the characters of Chinese, Japanese, Korean and Thai text, or between every two characters. Arabic words are not lengthened (kashida). |