[]
Specifies the format of a text string relative to its layout rectangle.
[Flags]
public enum DrawingTextFormat : long
<Flags>
Public Enum DrawingTextFormat As Long
Name | Description |
---|---|
Ellipsis | Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line. |
HorizontalCenter | Specifies that text is horizontal-aligned in the center of the layout rectangle. |
HorizontalDistributed | Specifies that text should wrap and be aligned to form straight edges on the left and right, including the last line. |
HorizontalJustify | Specifies that text should wrap and be aligned to form straight edges on the left and right, except for the last line which is left justified. |
HorizontalRight | Text will be draw with right alignment. |
None | Specifies to clear DrawingTextFormat. |
VerticalBottom | Text will be aligned from bottom to top in the layout rectangle. |
VerticalCenter | Specifies that text is vertical-aligned in the center of the layout rectangle. |
VerticalDistributed | Specifies that rotated text should wrap and be aligned to form straight edges on the top and bottom, including the last line. |
VerticalJustify | Specifies that rotated text should wrap and be aligned to form straight edges on the top and bottom, except for the last line which is left justified. |
VerticalText | Displays the text in vertical format. |
Wrap | Text wrapping between lines when formatting within a rectangle is enable. |