**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](#TopLeft) | Content is vertically aligned at the top, and horizontally aligned on the left. |
| [TopCenter](#TopCenter) | Content is vertically aligned at the top, and horizontally aligned at the center. |
| [TopRight](#TopRight) | Content is vertically aligned at the top, and horizontally aligned on the right. |
| [MiddleLeft](#MiddleLeft) | Content is vertically aligned in the middle, and horizontally aligned on the left. |
| [MiddleCenter](#MiddleCenter) | Content is vertically aligned in the middle, and horizontally aligned at the center. |
| [MiddleRight](#MiddleRight) | Content is vertically aligned in the middle, and horizontally aligned on the right. |
| [BottomLeft](#BottomLeft) | Content is vertically aligned at the bottom, and horizontally aligned on the left. |
| [BottomCenter](#BottomCenter) | Content is vertically aligned at the bottom, and horizontally aligned at the center. |
| [BottomRight](#BottomRight) | Content is vertically aligned at the bottom, and horizontally aligned on the right. |
### TopLeft {#TopLeft}
```
public static final int TopLeft
```


Content is vertically aligned at the top, and horizontally aligned on the left.

### TopCenter {#TopCenter}
```
public static final int TopCenter
```


Content is vertically aligned at the top, and horizontally aligned at the center.

### TopRight {#TopRight}
```
public static final int TopRight
```


Content is vertically aligned at the top, and horizontally aligned on the right.

### MiddleLeft {#MiddleLeft}
```
public static final int MiddleLeft
```


Content is vertically aligned in the middle, and horizontally aligned on the left.

### MiddleCenter {#MiddleCenter}
```
public static final int MiddleCenter
```


Content is vertically aligned in the middle, and horizontally aligned at the center.

### MiddleRight {#MiddleRight}
```
public static final int MiddleRight
```


Content is vertically aligned in the middle, and horizontally aligned on the right.

### BottomLeft {#BottomLeft}
```
public static final int BottomLeft
```


Content is vertically aligned at the bottom, and horizontally aligned on the left.

### BottomCenter {#BottomCenter}
```
public static final int BottomCenter
```


Content is vertically aligned at the bottom, and horizontally aligned at the center.

### BottomRight {#BottomRight}
```
public static final int BottomRight
```


Content is vertically aligned at the bottom, and horizontally aligned on the right.

