Back to Devexpress

PdfViewerControl.PageLayout Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfviewercontrol-348f02b8.md

latest2.1 KB
Original Source

PdfViewerControl.PageLayout Property

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

Declaration

csharp
public PdfPageLayout PageLayout { get; set; }
vb
Public Property PageLayout As PdfPageLayout

Property Value

TypeDefaultDescription
PdfPageLayoutPdfPageLayout.OneColumn

An enumeration value that indicates the page display mode.

|

Available values:

NameDescription
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 | |

Remarks

Example

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

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

See Also

PdfViewerControl Class

PdfViewerControl Members

DevExpress.Xpf.PdfViewer Namespace