Click or drag to resize

PdfTextAlignment Enumeration

Specifies whether the text is left-aligned, right-aligned, centered, or justified.

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.6.18
public enum PdfTextAlignment
Member nameValueDescription
Left0 Default. Text is aligned to the left.
Center1 Text is centered between the left and right edges.
Right2 Text is aligned to the right.
Justify3 Text is aligned with both the left and right edges, with internal spacing within each line expanded, if necessary, to achieve such alignment. The last (or only) line is aligned to the left edge only.
See Also