wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfviewercontrol-348f02b8.md
Gets or sets a value that defines the page display mode.
Namespace : DevExpress.Xpf.PdfViewer
Assembly : DevExpress.Xpf.PdfViewer.v25.2.dll
NuGet Package : DevExpress.Wpf.PdfViewer
public PdfPageLayout PageLayout { get; set; }
Public Property PageLayout As PdfPageLayout
| 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.
| | Default | |
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