Packages

 

com.aspose.cad

Class StringFormatFlags

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.cad.StringFormatFlags


  • public final class StringFormatFlags
    extends com.aspose.ms.System.Enum

    Specifies the display and layout information for text strings.

    • 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 DirectionRightToLeft
      Text is displayed from right to left.
      static int DirectionVertical
      Text is vertically aligned.
      static int DisplayFormatControl
      Control characters such as the left-to-right mark are shown in the output with a representative glyph.
      static int FitBlackBox
      Parts of characters are allowed to overhang the string's layout rectangle.
      static int LineLimit
      Only entire lines are laid out in the formatting rectangle.
      static int MeasureTrailingSpaces
      Includes the trailing space at the end of each line.
      static int NoClip
      Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show.
      static int NoFontFallback
      Fallback to alternate fonts for characters not supported in the requested font is disabled.
      static int NoWrap
      Text wrapping between lines when formatting within a rectangle is disabled.
      • 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, parseQuick, parseQuick, register, toObject, toString
    • Field Detail

      • DirectionRightToLeft

        public static final int DirectionRightToLeft

        Text is displayed from right to left.

        See Also:
        Constant Field Values
      • DirectionVertical

        public static final int DirectionVertical

        Text is vertically aligned.

        See Also:
        Constant Field Values
      • FitBlackBox

        public static final int FitBlackBox

        Parts of characters are allowed to overhang the string's layout rectangle. By default, characters are repositioned to avoid any overhang.

        See Also:
        Constant Field Values
      • DisplayFormatControl

        public static final int DisplayFormatControl

        Control characters such as the left-to-right mark are shown in the output with a representative glyph.

        See Also:
        Constant Field Values
      • NoFontFallback

        public static final int NoFontFallback

        Fallback to alternate fonts for characters not supported in the requested font is disabled. Any missing characters are displayed with the fonts missing glyph, usually an open square.

        See Also:
        Constant Field Values
      • MeasureTrailingSpaces

        public static final int MeasureTrailingSpaces

        Includes the trailing space at the end of each line. By default the boundary rectangle returned by the MeasureString method excludes the space at the end of each line. Set this flag to include that space in measurement.

        See Also:
        Constant Field Values
      • NoWrap

        public static final int NoWrap

        Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when a point is passed instead of a rectangle, or when the specified rectangle has a zero line length.

        See Also:
        Constant Field Values
      • LineLimit

        public static final int LineLimit

        Only entire lines are laid out in the formatting rectangle. By default layout continues until the end of the text, or until no more lines are visible as a result of clipping, whichever comes first. Note that the default settings allow the last line to be partially obscured by a formatting rectangle that is not a whole multiple of the line height. To ensure that only whole lines are seen, specify this value and be careful to provide a formatting rectangle at least as tall as the height of one line.

        See Also:
        Constant Field Values
      • NoClip

        public static final int NoClip

        Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show. By default all text and glyph parts reaching outside the formatting rectangle are clipped.

        See Also:
        Constant Field Values