ContentAlignment
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class ContentAlignment extends System.Enum
Specifies alignment of content on the drawing surface.
Fields
Field | Description |
---|---|
TopLeft | Content is vertically aligned at the top, and horizontally aligned on the left. |
TopCenter | Content is vertically aligned at the top, and horizontally aligned at the center. |
TopRight | Content is vertically aligned at the top, and horizontally aligned on the right. |
MiddleLeft | Content is vertically aligned in the middle, and horizontally aligned on the left. |
MiddleCenter | Content is vertically aligned in the middle, and horizontally aligned at the center. |
MiddleRight | Content is vertically aligned in the middle, and horizontally aligned on the right. |
BottomLeft | Content is vertically aligned at the bottom, and horizontally aligned on the left. |
BottomCenter | Content is vertically aligned at the bottom, and horizontally aligned at the center. |
BottomRight | Content is vertically aligned at the bottom, and horizontally aligned on the right. |
TopLeft
public static final int TopLeft
Content is vertically aligned at the top, and horizontally aligned on the left.
TopCenter
public static final int TopCenter
Content is vertically aligned at the top, and horizontally aligned at the center.
TopRight
public static final int TopRight
Content is vertically aligned at the top, and horizontally aligned on the right.
MiddleLeft
public static final int MiddleLeft
Content is vertically aligned in the middle, and horizontally aligned on the left.
MiddleCenter
public static final int MiddleCenter
Content is vertically aligned in the middle, and horizontally aligned at the center.
MiddleRight
public static final int MiddleRight
Content is vertically aligned in the middle, and horizontally aligned on the right.
BottomLeft
public static final int BottomLeft
Content is vertically aligned at the bottom, and horizontally aligned on the left.
BottomCenter
public static final int BottomCenter
Content is vertically aligned at the bottom, and horizontally aligned at the center.
BottomRight
public static final int BottomRight
Content is vertically aligned at the bottom, and horizontally aligned on the right.