[]
Specifies the text alignment by using a mask of the values in the following list. Only one flag can be chosen from those that affect horizontal and vertical alignment.
[Flags]
public enum TextAlignment
Name | Description |
---|---|
Baseline | The reference point will be on the base line of the text. |
Bottom | The reference point will be on the bottom edge of the bounding rectangle. |
Center | The reference point will be aligned horizontally with the center of the bounding rectangle. |
Left | The reference point will be on the left edge of the bounding rectangle. |
Right | The reference point will be on the right edge of the bounding rectangle. |
Top | The reference point will be on the top edge of the bounding rectangle. |