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

Declaration

public PrintLayoutMode PrintLayoutMode { get; set; }
Public Property PrintLayoutMode As PrintLayoutMode

Property Value

Type Description
PrintLayoutMode

One of the PrintLayoutMode enumeration members that specifies the layout of the print document.

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.

    pivotgrid_PrintLayoutMode_SinglePage

  • 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.

    pivotgrid_PrintLayoutMode_MultiplePage

Set the PrintLayoutMode property to PrintLayoutMode.Auto to allow PivotGridControl to select the layout mode automatically.

To learn more, see Printing and Exporting.

See Also