Skip to main content

IWizardCustomizationService.TryCreateReport(IDesignerHost, XtraReportModel, Object, String) Method

Creates a new report with the specified settings.

Namespace: DevExpress.XtraReports.Wizards

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

NuGet Package: DevExpress.Win.Reporting

Declaration

bool TryCreateReport(
    IDesignerHost designerHost,
    XtraReportModel model,
    object dataSource,
    string dataMember
)

Parameters

Name Type Description
designerHost IDesignerHost

An object implementing the IDesignerHost interface that is used to manage designer transactions and components.

model XtraReportModel

An XtraReportModel object.

dataSource Object

A Object value, specifying the data source.

dataMember String

A String value, specifying the data member.

Returns

Type Description
Boolean

true, if the report has been created; otherwise, false.

See Also