PivotGridControl.PrintLayoutMode Property
Gets or sets the layout mode of the print document. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
Property Value
Type | Description |
---|---|
PrintLayoutMode | One of the PrintLayoutMode enumeration members that specifies the layout of the print document. |
Available values:
Name | Description |
---|---|
SinglePageLayout | The pivot grid is represented by a single table. This mode is preferred when the pivot grid is exported to the XLS or image format. The following image displays the pivot grid exported to an image format using the Single Page layout mode. The dashed red line shows where the pivot grid will be cut off by the page boundaries if it is printed using this mode. |
MultiplePagesLayout | If the pivot grid does not fit onto one page, it is split into several tables. This mode is preferred when the pivot grid is printed or exported to a paged document. The following image displays the pivot grid exported to an image format using the Multiple Pages layout mode. The dashed red line shows where the pivot grid will be cut off by the page boundaries if it is printed using this mode. |
Auto | The layout mode is selected automatically. The Multiple Pages layout mode is applied when the pivot grid is printed or exported to a paged document. The Single Page layout mode is applied when the pivot grid is exported to the XLS or image format. |
Remarks
The pivot grid can be printed and exported using one of the following layout modes:
Single Page Layout Mode (specified by the PrintLayoutMode.SinglePageLayout value).
The pivot grid is represented by a single table.
This mode is preferred when the pivot grid is exported to the XLS or image format.
The following image displays the pivot grid exported to an image format using the Single Page layout mode. The dashed red line shows where the pivot grid will be cut off by the page boundaries, if it is printed using this mode.
Multiple Pages Layout Mode (specified by the PrintLayoutMode.MultiplePagesLayout value).
If the pivot grid does not fit onto one page, it is split into several tables.
This mode is preferred when the pivot grid is printed or exported to a paged document.
The following image displays the pivot grid exported to an image format using the Multiple Page layout mode. The dashed red line shows where the pivot grid will be cut off by the page boundaries if it is printed using this mode.
Set the PrintLayoutMode property to PrintLayoutMode.Auto to allow PivotGridControl to select the layout mode automatically.
To learn more, see Printing and Exporting.