Contains the available trimming modes which defines how to trim a text when it overflows the edge of its containing rectangle (in DrawString(String, Font, SolidBrush, Rectangle, TextTrimmingMode, Boolean, Boolean, Boolean) method).
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public enum TextTrimmingMode
Member name | Description |
---|---|
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 |
Text is not trimmed. |
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. |