Click or drag to resize
Pdf Library for .NET

PdfPageOrientation Enumeration

The page orientation used for the PDF document.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public enum PdfPageOrientation
Members
Member nameValueDescription
Portrait0 Portrait orientation.
Landscape1 Landscape orientation.
Example
PdfDocument document = new PdfDocument();
document.Pages.Add(PdfCustomPageSize.A4, new PdfMargins(40),
    PdfPageOrientation.Landscape);
See Also