PdfViewerControl.PageLayout Property
Gets or sets a value that defines the page display mode.
Namespace: DevExpress.Xpf.PdfViewer
Assembly: DevExpress.Xpf.PdfViewer.v24.2.dll
NuGet Package: DevExpress.Wpf.PdfViewer
#Declaration
public PdfPageLayout PageLayout { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Pdf |
Pdf |
An enumeration value that indicates the page display mode. |
Available values:
Name | Description |
---|---|
Single |
The PDF Viewer displays one page at a time. |
One |
The PDF Viewer displays pages in one column. |
Two |
The PDF Viewer displays the pages in two columns, with odd-numbered pages on the left. |
Two |
The PDF Viewer displays pages in two columns, with odd-numbered pages on the right. |
Two |
The PDF Viewer displays the pages two at a time, with odd-numbered pages on the left. |
Two |
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"/>