Back to Devexpress

PivotGridControl.Print() Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-c91cf666.md

latest2.0 KB
Original Source

PivotGridControl.Print() Method

Invokes the Print dialog and prints the pivot grid.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void Print()
vb
Public Sub 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

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace