Enum EmfPlusStringTrimming
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging.dll (25.2.0)
The StringTrimming enumeration defines how to trim characters from a string that is too large for the text layout rectangle.
public enum EmfPlusStringTrimming
Fields
StringTrimmingCharacter = 1
Specifies that the string is broken at the boundary of the last character that is inside the layout rectangle. This is the default.
StringTrimmingEllipsisCharacter = 3
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.
StringTrimmingEllipsisPath = 5
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.
StringTrimmingEllipsisWord = 4
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.
StringTrimmingNone = 0
Specifies that no trimming is done.
StringTrimmingWord = 2
Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle.