Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IReportDataSourceHelper.SetupBeforePrint(XtraReport) Method

Prepares the report for further printing.

Namespace: DevExpress.ExpressApp.ReportsV2

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

#Declaration

void SetupBeforePrint(
    XtraReport report
)

#Parameters

Name Type Description
report XtraReport

An XtraReport object that specifies the report.

#Remarks

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

An example on how to use the SetupBeforePrint method is available in the How to: Print a Report Without Displaying a Preview topic.

See Also