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.v21.1.dll

Declaration

public void SetPageView(
    int columns,
    int rows
)

Parameters

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.

Remarks

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

SetPageView(4,2)

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

See Also