Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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