Skip to main content

ReportGenerator.GenerateReport(XtraReport, BaseView) Method

Generates a new report using the specified source report and grid view. Only the settings related to the document layout of the source report are preserved in the resulting report (such as XtraReport.Landscape and XtraReport.Margins).

Namespace: DevExpress.XtraReports.ReportGeneration

Assembly: DevExpress.XtraReports.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public static XtraReport GenerateReport(
    XtraReport report,
    BaseView view
)

Parameters

Name Type Description
report XtraReport

An XtraReport object.

view BaseView

A BaseView descendant.

Returns

Type Description
XtraReport

An XtraReport object.

See Also