A newer version of this page is available. Switch to the current version.

DocumentViewerBase.SetPageView(Int32, Int32) Method

Determines the number of columns and rows used to display pages of a multipage report within a Print Preview.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v18.2.dll


public void SetPageView(
    int columns,
    int rows
Public Sub SetPageView(
    columns As Integer,
    rows As Integer


Name Type Description
columns Int32

The number of columns. It will not exceed the DocumentViewerBase.MaxPageColumns property value.

rows Int32

The number of rows. It will not exceed the DocumentViewerBase.MaxPageRows property value.


The following image shows a Print Preview form when the number of rows is equal to 2 and the number of columns equals 4.


To view the report using the "Whole Page" option, set the number of rows and columns to 1: SetPageView(1, 1).

See Also