PivotGridControl.PrintDirect(PrintQueue) Method
OBSOLETE
This method is now obsolete. Use the PrintDirect method instead.
Prints the pivot grid using the printer specified by the print queue.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
[Obsolete("This method is now obsolete. Use the DevExpress.Xpf.PivotGrid.PivotGridControl.PrintDirect(string printerName) method instead.")]
public void PrintDirect(
PrintQueue queue
)
Parameters
Name | Type | Description |
---|---|---|
queue | PrintQueue | A PrintQueue object specifying the print queue. |
Remarks
Use the PrintDirect method without parameters, to immediately send the pivot grid to the default printer, and the PrintDirect method with the queue parameter, to send the pivot grid to a specific printer. Also, you can use the PivotGridControl.Print method to print the pivot grid using custom printing settings, specified by an end-user via the Print dialog.
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.