Skip to main content

XtraReportPreviewExtensions.Print(IReport) Method

Prints the report document.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing


public static void Print(
    this IReport report


Name Type Description
report IReport

An object implementing the IReport interface.


Call the Print method to immediately send a report to the default printer.

To be able to use this method, you should add the DevExpress.XtraPrinting.v23.2.dll to your project’s References list.

using DevExpress.XtraReports.UI;
// ...

XtraReport1 report = new XtraReport1();

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

We recommend you use the ReportPrintTool class instead, which provides the similar PrintToolBase.Print method. This class also enables you to release the memory right after printing (for instance, by calling the Dispose method or utilizing the using statement).


You cannot use the Print method in Web applications. Use the Web Document Viewer instead.

See Also