Skip to main content

PdfViewerControl.PageLayout Property

Gets or sets a value that defines the page display mode.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v23.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public PdfPageLayout PageLayout { get; set; }

Property Value

Type Default Description
PdfPageLayout PdfPageLayout.OneColumn

An enumeration value that indicates the page display mode.

Available values:

Name Description
SinglePage

The PDF Viewer displays one page at a time.

OneColumn

The PDF Viewer displays pages in one column.

TwoColumnLeft

The PDF Viewer displays the pages in two columns, with odd-numbered pages on the left.

TwoColumnRight

The PDF Viewer displays pages in two columns, with odd-numbered pages on the right.

TwoPageLeft

The PDF Viewer displays the pages two at a time, with odd-numbered pages on the left.

TwoPageRight

The PDF Viewer displays the pages two at a time, with odd-numbered pages on the right.

Remarks

Example

The code sample below shows how to specify the PageLayout property in code:

<dxpdf:PdfViewerControl x:Name="pdfViewer" 
                        PageLayout="TwoColumnLeft"
                        DocumentSource="Demo.pdf"/> 
See Also