Packages

 

com.aspose.imaging.fileformats.emf.emfplus.consts

Class EmfPlusStringTrimming

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.emf.emfplus.consts.EmfPlusStringTrimming


  • 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.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      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.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        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
    • Field Detail

      • StringTrimmingNone

        public static final int StringTrimmingNone

        Specifies that no trimming is done.

        See Also:
        Constant Field Values
      • StringTrimmingCharacter

        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.

        See Also:
        Constant Field Values
      • StringTrimmingWord

        public static final int StringTrimmingWord

        Specifies that the string is broken at the boundary of the last word that is inside the layout rectangle.

        See Also:
        Constant Field Values
      • StringTrimmingEllipsisCharacter

        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.

        See Also:
        Constant Field Values
      • StringTrimmingEllipsisWord

        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.

        See Also:
        Constant Field Values
      • StringTrimmingEllipsisPath

        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.

        See Also:
        Constant Field Values