This documentation is for the old version. Go to the latest Graphics Mill docs

TextTrimmingMode Enumeration

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)


Visual Basic
Public Enumeration TextTrimmingMode
public enum TextTrimmingMode


Member name Description

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.


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.


No ellipses are added.

See Also