WebDashboardExporter Class
Implements a base functionality to perform server-side export of a dashboard/dashboard item displayed in the Web Dashboard.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v19.2.Web.dll
Declaration
Remarks
The WebDashboardExporter class provides a base export functionality and allows you to implement server export for the ASP.NET MVC Dashboard extension. You can specify a dashboard state and export options to be applied in the resulting document.
If you are using the DashboardConfigurator‘s API, pass its default instance to the WebDashboardExporter constructor.
using DevExpress.DashboardWeb;
//...
WebDashboardExporter exporter = new WebDashboardExporter(DashboardConfigurator.Default);
Then, use the required 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 Core: AspNetCoreDashboardExporter