HorizontalStringAlignment
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class HorizontalStringAlignment extends System.Enum
Specifies the alignment of a text string relative to its layout rectangle.
Fields
Field | Description |
---|---|
Center | Specifies that text is aligned in the center of the layout rectangle. |
Far | Specifies that text is aligned far from the origin position of the layout rectangle. |
Near | Specifies the text be aligned near the layout. |
Center
public static final int Center
Specifies that text is aligned in the center of the layout rectangle.
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.
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.