ReportDataSourceHelperBase.SetupBeforePrint(XtraReport) Method
In This Article
Prepares the report for further printing.
Namespace: DevExpress.ExpressApp.ReportsV2.Services
Assembly: DevExpress.ExpressApp.ReportsV2.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2
#Declaration
public void SetupBeforePrint(
XtraReport report
)
#Parameters
Name | Type | Description |
---|---|---|
report | Xtra |
An Xtra |
#Remarks
If you want to print a report in code, you should use the SetupBeforePrint method that executes the ReportDataSourceHelperBase.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.
#Implements
See Also