Packages

 

com.aspose.cad

Class StringAlignment

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


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

    Specifies the alignment of a text string relative to its 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 Center
      Specifies that text is aligned in the center of the layout rectangle.
      static int Far
      Specifies that text is aligned far from the origin position of the layout rectangle.
      static int Near
      Specifies the text be aligned near the layout.
      • 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, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • Near

        public static final int Near

        Specifies the text be aligned near the layout. In a left-to-right layout, the near position is left. In a right-to-left layout, the near position is right.

        See Also:
        Constant Field Values
      • Center

        public static final int Center

        Specifies that text is aligned in the center of the layout rectangle.

        See Also:
        Constant Field Values
      • Far

        public static final int Far

        Specifies that text is aligned far from the origin position of the layout rectangle. In a left-to-right layout, the far position is right. In a right-to-left layout, the far position is left.

        See Also:
        Constant Field Values