Click or drag to resize
Pdf Library for .NET

PdfViewerPageLayout Enumeration

The page layout a viewer uses when the document is opened.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public enum PdfViewerPageLayout
Members
Member nameValueDescription
SinglePage0 Display one page at a time.
OneColumn1 Display the pages in one column.
TwoColumnLeft2 Display the pages in two columns, with odd-numbered pages on the left.
TwoColumnRight3 Display the pages in two columns, with odd-numbered pages on the right.
Example
PdfDocument document = new PdfDocument();
document.ViewerPreferences.PageLayout = PdfViewerPageLayout.TwoColumnLeft;
See Also