Enum TextOptions
Specifies the text formatting options for rendering text.
public enum TextOptions
Fields
AdjustWidth = 4
The width of the bounding box is set to the longest line of text.
Center = 1
Each line of text is centered.
EllipsisIfTooLong = 16
If the text is longer than the specified width, it is truncated and marked with ellipsis.
Html = 256
The text contains simple HTML formatting.
None = 0
No special formatting.
Right = 2
Each line of text is right-aligned.
SmallerFontIfToolLong = 32
If the text is longer than the specified width, the font is scaled down.
TruncateIfTooLong = 8
If the text is longer than the specified width, it is truncated.