Click or drag to resize
Pdf Library for .NET

PdfTextVerticalAlign Enumeration

The vertical alignment of text within the bounds of a PDF element.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public enum PdfTextVerticalAlign
Members
Member nameValueDescription
Top0 Top alignment.
Middle1 Middle alignment.
Bottom2 Bottom alignment.
Example
PdfTextSection text = new PdfTextSection(0, 0, 200, 100, "Bottom text", font);
text.VerticalAlign = PdfTextVerticalAlign.Bottom;
converter.Footer.Add(text);
See Also