Enum EmfPlusStringTrimming

EmfPlusStringTrimming enumeration

The StringTrimming enumeration defines how to trim characters from a string that is too large for the text layout rectangle.

public enum EmfPlusStringTrimming

Values

NameValueDescription
StringTrimmingNone0Specifies that no trimming is done.
StringTrimmingCharacter1Specifies that the string is broken at the boundary of the last character that is inside the layout rectangle. This is the default.
StringTrimmingWord2Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle.
StringTrimmingEllipsisCharacter3Specifies that the string is broken at the boundary of the last character that is inside the layout rectangle, and an ellipsis (…) is inserted after the character.
StringTrimmingEllipsisWord4Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle, and an ellipsis (…) is inserted after the word.
StringTrimmingEllipsisPath5Specifies that the center is removed from the string and replaced by an ellipsis. The algorithm keeps as much of the last portion of the string as possible.

See Also