[]
DsPdfJS API / ParagraphAlignment
Specifies the alignment of paragraph text along the flow direction axis.
Center:
2
The center of the text flow is aligned to the center of the layout box.
Distributed:
4
Same as "Justified" except the case with a single line which is centered.
Far:
1
The bottom of the text flow is aligned to the bottom edge of the layout box.
Justified:
3
The lines of text are justified between the top and bottom edges of the layout box.
Near:
0
The top of the text flow is aligned to the top edge of the layout box.