Back to Devexpress

XtraReport.Print(String) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-dot-print-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

XtraReport.Print(String) Method

Sends a report to the specified printer.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public void Print(
    string printerName = ""
)
vb
Public Sub Print(
    printerName As String = ""
)

Optional Parameters

NameTypeDefaultDescription
printerNameStringString.Empty

The name of the printer that should print the report.

|

Remarks

The report is rendered with default parameter values when it is sent to a printer. To ask users to specify parameter values, use a ReportPrintTool class instance’s Print() method instead.

Use the PrintAsync(String, CancellationToken) method to print a report asynchronously in a separate task.

See Also

XtraReport Class

XtraReport Members

DevExpress.XtraReports.UI Namespace