dashboard-15181-common-features-printing-and-exporting.md
All controls included in the DevExpress Dashboard Suite allow users to print/export an entire dashboard or individual dashboard items.
Watch Video: DevExpress Dashboards: Printing & Exporting (YouTube)
WinForms - Print Preview
Web - Exporting to PDF
Exporting to Excel
The following table illustrates visual export and print operations that are available for different platforms:
|
Operation
|
Platform
|
Description
| | --- | --- | --- | |
|
WinForms
|
The Print Preview window displays a dashboard/dashboard item as it will appear when printed. This functionality is available for the WinForms Designer and Viewer.
| |
Export to PDF
|
WinForms, Web, WPF
|
When users export a dashboard to PDF, they can specify various document options such as page layout and size, title settings, etc.
| |
Export to Image
|
WinForms, Web, WPF
|
Users can specify image options such as image format and resolution.
| |
Export to Excel/CSV
|
WinForms, Web, WPF
|
Only raw data displayed within the dashboard/dashboard item is exported. Export to CSV is not supported for the entire dashboard, tab, or group. You can export only a single dashboard item.
|
You can use non-visual export components to implement server-side export of a dashboard or dashboard items at runtime. Use this, for example, if you need to generate a service that exports dashboards at regular intervals and sends them by mail.
The following table lists export components that are available for different platforms:
| Component | Platform |
|---|---|
| DashboardExporter | All[1] |
| AspNetCoreDashboardExporter | ASP.NET Core |
| WebDashboardExporter | ASP.NET MVC |
| ASPxDashboardExporter | ASP.NET Web Forms |
The following topics describe the print/export capabilities that depend on the control that is used:
You can post-process resulting Excel and PDF files with the help of dedicated DevExpress libraries (collectively known as DevExpress Office File API ):
PDF Document API and Spreadsheet Document API work in applications that target a variety of platforms (Windows Forms, WPF, ASP.NET Web Forms, ASP.NET MVC, ASP.NET Core, Blazor, MAUI) and operating systems (Windows, Linux, macOS).
Office File API is included into the DevExpress Universal Subscription - the same subscription that includes DevExpress Dashboard.
Footnotes