Skip to main content

PivotGridControl.Print() Method

Invokes the Print dialog and prints the pivot grid.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v23.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public void Print()

Remarks

This method displays the standard Print dialog that allows an end-user to print the pivot grid, select the printer (if required), specify the range of pages to print, the number of copies, etc. To print the pivot grid immediately, without invoking any dialogs, use the PivotGridControl.PrintDirect method instead.

To display the Print Preview of the pivot grid, use the PivotGridControl.ShowPrintPreview and PivotGridControl.ShowPrintPreviewDialog methods. To export the pivot grid, use the appropriate ExportTo~ method (e.g. PivotGridControl.ExportToHtml, PivotGridControl.ExportToPdf, etc.)

Note

The pivot grid can be previewed, printed and exported only if the DXPrinting Library is available.

To learn more, see Printing and Exporting.

See Also