---
title: "ParagraphHorizontalAlignment"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.fileformats.cmx.objectmodel.enums/paragraphhorizontalalignment/"
product: "Aspose.Imaging for Java API Reference"
description: "Horizontal alignment"
---

**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class ParagraphHorizontalAlignment extends System.Enum
```

Horizontal alignment
## Fields

| Field | Description |
| --- | --- |
| [NoAlign](#NoAlign) | Do not align text with the text frame. |
| [Left](#Left) | Align text with the left side of the text frame. |
| [Center](#Center) | Center text between the left and right sides of the text frame. |
| [Right](#Right) | Align text with the right side of the text frame. |
| [FullJustify](#FullJustify) | Align text, excluding the last line, with the left and right sides of the text frame. |
| [ForceJustify](#ForceJustify) | Align text with both left and right sides of the text frame. |
### NoAlign {#NoAlign}
```
public static final int NoAlign
```


Do not align text with the text frame.

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


Align text with the left side of the text frame.

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


Center text between the left and right sides of the text frame.

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


Align text with the right side of the text frame.

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


Align text, excluding the last line, with the left and right sides of the text frame.

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


Align text with both left and right sides of the text frame.

