Back to Devexpress

IReportStorage.LoadReport(IReportDataV2) Method

expressappframework-devexpress-dot-expressapp-dot-reportsv2-dot-ireportstorage-dot-loadreport-x28-devexpress-dot-expressapp-dot-reportsv2-dot-ireportdatav2-x29.md

latest2.4 KB
Original Source

IReportStorage.LoadReport(IReportDataV2) Method

Namespace : DevExpress.ExpressApp.ReportsV2

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

NuGet Package : DevExpress.ExpressApp.ReportsV2

Declaration

csharp
XtraReport LoadReport(
    IReportDataV2 reportData
)
vb
Function LoadReport(
    reportData As IReportDataV2
) As XtraReport

Parameters

NameType
reportDataIReportDataV2

Returns

Type
XtraReport

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadReport(IReportDataV2) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-print-a-report-without-displaying-a-preview/CS/EFCore/InstantReportEF/InstantReportEF.Win/Controllers/WinInstantPrintReportController.cs#L13

csharp
var reportStorage = ReportDataProvider.GetReportStorage(Application.ServiceProvider);
XtraReport report = reportStorage.LoadReport(reportData);
ReportsModuleV2 reportsModule = ReportsModuleV2.FindReportsModule(Application.Modules);

See Also

IReportStorage Interface

IReportStorage Members

DevExpress.ExpressApp.ReportsV2 Namespace