Packages

 

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

Class EmfPlusStringFormatFlags

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


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

    The StringFormat flags specify options for graphics text layout, including direction, clipping and font handling. These flags can be combined to specify multiple options.

    • 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 long StringFormatBypassGdi
      This flag MAY be used to specify an implementation-specific process for rendering text.
      static long StringFormatDirectionRightToLeft
      If set, the reading order of the string SHOULD be right to left.
      static long StringFormatDirectionVertical
      If set, individual lines of text SHOULD be drawn vertically on the display device.
      static long StringFormatDisplayFormatControl
      If set, control characters SHOULD appear in the output as representative Unicode glyphs.
      static long StringFormatLineLimit
      If set, whole lines of text SHOULD be output and SHOULD NOT be clipped by the string's layout rectangle.
      static long StringFormatMeasureTrailingSpaces
      If set, the space at the end of each line MUST be included in measurements of string length.
      static long StringFormatNoClip
      If set, text extending outside the string layout rectangle SHOULD be allowed to show.
      static long StringFormatNoFitBlackBox
      If set, parts of characters MUST be allowed to overhang the text layout rectangle.
      static long StringFormatNoFontFallback
      If set, an alternate font SHOULD be used for characters that are not supported in the requested font.
      static long StringFormatNoWrap
      If set, a string that extends past the end of the text layout rectangle MUST NOT be wrapped to the next line.
      • 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

      • StringFormatDirectionRightToLeft

        public static final long StringFormatDirectionRightToLeft

        If set, the reading order of the string SHOULD be right to left. For horizontal text, this means that characters are read from right to left. For vertical text, this means that columns are read from right to left. If clear, horizontal or vertical text SHOULD be read from left to right.

        Graphics text layout is specified by Objects.EmfPlusStringFormat objects

        See Also:
        Constant Field Values
      • StringFormatDirectionVertical

        public static final long StringFormatDirectionVertical

        If set, individual lines of text SHOULD be drawn vertically on the display device. If clear, individual lines of text SHOULD be drawn horizontally, with each new line below the previous line.

        See Also:
        Constant Field Values
      • StringFormatNoFitBlackBox

        public static final long StringFormatNoFitBlackBox

        If set, parts of characters MUST be allowed to overhang the text layout rectangle. If clear, characters that overhang the boundaries of the text layout rectangle MUST be repositioned to avoid overhang. An italic, "f" is an example of a character that can have overhanging parts.

        See Also:
        Constant Field Values
      • StringFormatDisplayFormatControl

        public static final long StringFormatDisplayFormatControl

        If set, control characters SHOULD appear in the output as representative Unicode glyphs.

        See Also:
        Constant Field Values
      • StringFormatNoFontFallback

        public static final long StringFormatNoFontFallback

        If set, an alternate font SHOULD be used for characters that are not supported in the requested font. If clear, a character missing from the requested font SHOULD appear as a "font missing" character, which MAY be an open square.

        See Also:
        Constant Field Values
      • StringFormatMeasureTrailingSpaces

        public static final long StringFormatMeasureTrailingSpaces

        If set, the space at the end of each line MUST be included in measurements of string length. If clear, the space at the end of each line MUST be excluded from measurements of string length.

        See Also:
        Constant Field Values
      • StringFormatNoWrap

        public static final long StringFormatNoWrap

        If set, a string that extends past the end of the text layout rectangle MUST NOT be wrapped to the next line. If clear, a string that extends past the end of the text layout rectangle MUST be broken at the last word boundary within the bounding rectangle, and the remainder of the string MUST be wrapped to the next line.

        See Also:
        Constant Field Values
      • StringFormatLineLimit

        public static final long StringFormatLineLimit

        If set, whole lines of text SHOULD be output and SHOULD NOT be clipped by the string's layout rectangle. If clear, text layout SHOULD continue until all lines are output, or until additional lines would not be visible as a result of clipping. This flag can be used either to deny or allow a line of text to be partially obscured by a layout rectangle that is not a multiple of line height. For all text to be visible, a layout rectangle at least as tall as the height of one line.

        See Also:
        Constant Field Values
      • StringFormatNoClip

        public static final long StringFormatNoClip

        If set, text extending outside the string layout rectangle SHOULD be allowed to show. If clear, all text that extends outside the layout rectangle SHOULD be clipped.

        See Also:
        Constant Field Values
      • StringFormatBypassGdi

        public static final long StringFormatBypassGdi

        This flag MAY be used to specify an implementation-specific process for rendering text.

        See Also:
        Constant Field Values