AspNetCoreDashboardExporter Class
Performs server-side export of a dashboard/dashboard item displayed in the ASP.NET Core Dashboard.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
Declaration
Remarks
The AspNetCoreDashboardExporter
class allows you to implement server export for the ASP.NET Core Dashboard Control. It uses information stored in a dashboard sate to determine the currently selected filters, drill-down levels and parameter values. The state overrides default values specified in dashboard items and parameters. An empty state for the AspNetCoreDashboardExporter means that an end-user has cleared all filters and parameters, and canceled all drill-down operations. The AspNetCoreDashboardExporter inherits members of the WebDashboardExporter class.
You can specify export options for the resulting document. See Manage Exporting Capabilities to learn more.
For DashboardConfigurator‘s API, pass its default instance to the AspNetCoreDashboardExporter constructor.
Then, use the required inherited method exposed by WebDashboardExporter to export a dashboard or dashboard item (such as WebDashboardExporter.ExportToPdf or WebDashboardExporter.ExportDashboardItemToImage).
Use the following classes to perform server-side export for other platforms:
- ASP.NET Web Forms: ASPxDashboardExporter
- ASP.NET MVC: WebDashboardExporter