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

FieldDescription
TopLeftContent is vertically aligned at the top, and horizontally aligned on the left.
TopCenterContent is vertically aligned at the top, and horizontally aligned at the center.
TopRightContent is vertically aligned at the top, and horizontally aligned on the right.
MiddleLeftContent is vertically aligned in the middle, and horizontally aligned on the left.
MiddleCenterContent is vertically aligned in the middle, and horizontally aligned at the center.
MiddleRightContent is vertically aligned in the middle, and horizontally aligned on the right.
BottomLeftContent is vertically aligned at the bottom, and horizontally aligned on the left.
BottomCenterContent is vertically aligned at the bottom, and horizontally aligned at the center.
BottomRightContent 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.