ReportDataSourceHelper.SetupBeforePrint(XtraReport) Method

Prepares the report for further printing.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v18.2.dll


public void SetupBeforePrint(
    XtraReport report
Public Sub SetupBeforePrint(
    report As XtraReport


Type Name Description
XtraReport report

An XtraReport object that specifies the report.


If you want to print a report in code, you should use the SetupBeforePrint method that executes the ReportDataSourceHelper.SetupReport method and triggers the ReportDataSourceHelper.BeforeShowPreview event.

An example of using the SetupBeforePrint method is provided in the How to: Print a Report Without Displaying a Preview topic.

See Also