Back to Devexpress

DocumentPreviewControl.PageDisplayMode Property

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-2ca9e24e.md

latest2.4 KB
Original Source

DocumentPreviewControl.PageDisplayMode Property

Gets or sets the page display mode in the document preview. This is a dependency property.

Namespace : DevExpress.Xpf.Printing

Assembly : DevExpress.Xpf.Printing.v25.2.dll

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public PageDisplayMode PageDisplayMode { get; set; }
vb
Public Property PageDisplayMode As PageDisplayMode

Property Value

TypeDescription
PageDisplayMode

A PageDisplayMode enumeration value.

|

Available values:

NameDescription
Single

Document pages are displayed in one column.

| | Columns |

Document pages are displayed in multiple columns, the number of which is specified by the DocumentPreviewControl.ColumnsCount property.

| | Wrap |

Document pages are automatically displayed in columns and wrapped if there is insufficient space to display a specific page.

|

Remarks

To display document pages in one column, set the PageDisplayMode property to PageDisplayMode.Single. In the case of the PageDisplayMode.Columns value, document pages are arranged in multiple columns, the number of which is specified by the DocumentPreviewControl.ColumnsCount property. If the PageDisplayMode property is set to PageDisplayMode.Wrap, pages are automatically displayed in columns and wrapped if there is insufficient space to add a specific page.

See Also

ColumnsCount

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace