public final class EmfPlusStringTrimming
extends com.aspose.ms.System.Enum
The StringTrimming enumeration defines how to trim characters from a string that is too large for the text layout rectangle.
Modifier and Type | Field and Description |
---|---|
static int |
StringTrimmingCharacter
Specifies that the string is broken at the boundary of the last character that is inside the layout rectangle.
|
static int |
StringTrimmingEllipsisCharacter
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.
|
static int |
StringTrimmingEllipsisPath
Specifies that the center is removed from the string and replaced by an ellipsis.
|
static int |
StringTrimmingEllipsisWord
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.
|
static int |
StringTrimmingNone
Specifies that no trimming is done.
|
static int |
StringTrimmingWord
Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle.
|
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
public static final int StringTrimmingNone
Specifies that no trimming is done.
public static final int StringTrimmingCharacter
Specifies that the string is broken at the boundary of the last character that is inside the layout rectangle. This is the default.
public static final int StringTrimmingWord
Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle.
public static final int StringTrimmingEllipsisCharacter
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.
public static final int StringTrimmingEllipsisWord
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.
public static final int StringTrimmingEllipsisPath
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.