# ParagraphAlignment

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / ParagraphAlignment

# Enumeration: ParagraphAlignment

Specifies the alignment of paragraph text along the flow direction axis.

## Enumeration Members

### Center

> **Center**: `2`

The center of the text flow is aligned to the center of the layout box.

***

### Distributed

> **Distributed**: `4`

Same as "Justified" except the case with a single line which is centered.

***

### Far

> **Far**: `1`

The bottom of the text flow is aligned to the bottom edge of the layout box.

***

### Justified

> **Justified**: `3`

The lines of text are justified between the top and bottom edges of the layout box.

***

### Near

> **Near**: `0`

The top of the text flow is aligned to the top edge of the layout box.
