**Inheritance:**
java.lang.Object, com.aspose.pdf.artifacts.pagination.HeaderFooterSettings.HorizontalAlignment

```
public static class HeaderFooterSettings.HorizontalAlignment extends Object
```

Represents horizontal alignment settings for header and footer.

## Constructors

| Constructor | Description |
| --- | --- |
| [HorizontalAlignment](#HorizontalAlignment--) |  |

## Methods

| Method | Description |
| --- | --- |
| [getCenter](#getCenter--) | Gets or sets the center alignment settings. |
| [getLeft](#getLeft--) | Gets or sets the left alignment settings. |
| [getRight](#getRight--) | Gets or sets the right alignment settings. |
| [setCenter](#setCenter-com.aspose.pdf.artifacts.pagination.Center-) | Gets or sets the center alignment settings. |
| [setLeft](#setLeft-com.aspose.pdf.artifacts.pagination.Left-) | Gets or sets the left alignment settings. |
| [setRight](#setRight-com.aspose.pdf.artifacts.pagination.Right-) | Gets or sets the right alignment settings. |

### HorizontalAlignment {#HorizontalAlignment--}
```
public HorizontalAlignment()
```



### getCenter {#getCenter--}
```
public final Center getCenter()
```

Gets or sets the center alignment settings.

**Returns:**
Center instance

### getLeft {#getLeft--}
```
public final Left getLeft()
```

Gets or sets the left alignment settings.

**Returns:**
Left instance

### getRight {#getRight--}
```
public final Right getRight()
```

Gets or sets the right alignment settings.

**Returns:**
Right instance

### setCenter {#setCenter-com.aspose.pdf.artifacts.pagination.Center-}
Gets or sets the center alignment settings.

### setLeft {#setLeft-com.aspose.pdf.artifacts.pagination.Left-}
Gets or sets the left alignment settings.

### setRight {#setRight-com.aspose.pdf.artifacts.pagination.Right-}
Gets or sets the right alignment settings.
