PrintToolBase.Print() Method

Prints the current document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.2.Core.dll

Declaration

public void Print()
Public Sub Print

Remarks

This method immediately sends a report assigned to the PrintToolBase to the default printer.

The document to be printed is accessible via the PrintingSystemBase.Document property of the PrintToolBase.PrintingSystem. Note that you need to call the XtraReport.CreateDocument method to generate a document prior to calling the Print method.

To send a report to a specified printer, use the overloaded Print method with the printerName parameter.

See Also