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.v24.1.dll
NuGet Package: DevExpress.Wpf.Printing
Declaration
Property Value
Type | Description |
---|---|
PageDisplayMode | A PageDisplayMode enumeration value. |
Available values:
Name | Description |
---|---|
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.