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)

Syntax

Visual Basic
Public Enumeration TextTrimmingMode
C#
public enum TextTrimmingMode

Members

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.

See Also

Reference