PeachPDF

PeachPDF.Layout

TextAlignment Enum

A paragraph’s horizontal text alignment (CSS text-align).

public enum TextAlignment

Fields

Left 0

Aligns text to the left edge.

Center 1

Centers text.

Right 2

Aligns text to the right edge.

Justify 3

Stretches each line (except the last) to fill the full width.

Start 4

Aligns text to the start edge, resolved against the paragraph’s own Direction(PdfTextDirection) (start = left in LTR, right in RTL).

End 5

Aligns text to the end edge, resolved against the paragraph’s own Direction(PdfTextDirection) (end = right in LTR, left in RTL).