PdfTextAlignment Enum

The horizontal alignment of the lines of a text box (PdfContentBuilder.DrawTextBox).

public enum PdfTextAlignment

Fields

NameValueDescription
Left0The lines start at the left of the box.
Center1The lines are centered in the box.
Justify3The lines fill the width of the box, with spaces between their words stretched; the last line of a paragraph starts at the left.