Contains possible trimming modes which defines how to trim characters from a string so that the string fits into a layout rectangle (in DrawString(String, Font, SolidBrush, Rectangle, TextTrimmingMode, Boolean, Boolean, Boolean) method).
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Enumeration TextTrimmingMode
public enum TextTrimmingMode
Member name | Description | |
---|---|---|
PathEllipsis |
Replaces characters in the middle of the string with ellipses so that the result fits in the specified rectangle. If the string contains backslash (\) characters, this value preserves as much as possible of the text after the last backslash. |
|
EndEllipsis |
If the end of a string does not fit in the rectangle, it is truncated and ellipses are added. If a word that is not at the end of the string goes beyond the limits of the rectangle, it is truncated without ellipses. |
|
None |
No ellipses are added. |