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

Specifies how an object or text is horizontally aligned relative to another object.
## Fields

| Field | Description |
| --- | --- |
| [Left](#Left) | The object is aligned on the left of the target element. |
| [Right](#Right) | The object is aligned on the right of the target element. |
### Left {#Left}
```
public static final int Left
```


The object is aligned on the left of the target element.

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


The object is aligned on the right of the target element.

