Click or drag to resize
EmfPlusStringTrimming Enumeration
The StringTrimming enumeration defines how to trim characters from a string that is too large for the text layout rectangle.

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public enum EmfPlusStringTrimming
Members
  Member nameValueDescription
StringTrimmingNone0 Specifies that no trimming is done.
StringTrimmingCharacter1 Specifies that the string is broken at the boundary of the last character that is inside the layout rectangle. This is the default.
StringTrimmingWord2 Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle.
StringTrimmingEllipsisCharacter3 Specifies 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.
StringTrimmingEllipsisWord4 Specifies 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.
StringTrimmingEllipsisPath5 Specifies 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