Skip to content

PdfTextAlignment enum

View as Markdown

Namespace: PdfNetStack.Drawing
Assembly: PdfNetStack.dll
Package: PdfNetStack

Horizontal alignment of the lines of a paragraph.

public enum PdfTextAlignment

Start = 0

Left in left to right paragraphs, right in right to left ones.

End = 1

Right in left to right paragraphs, left in right to left ones.

Left = 2

Left edge.

Right = 3

Right edge.

Center = 4

Centered.

Justify = 5

Both edges, by widening the spaces between words; the last line aligns to the start.