TdxCustomDashboardControl.ExportTo(TdxDashboardExportFormat,string) Method
Exports dashboard content to a stream in any supported format.
Declaration
procedure ExportTo(AFormat: TdxDashboardExportFormat; const AFileName: string); overload;
Parameters
| Name | Type | Description |
|---|---|---|
| AFormat | TdxDashboardExportFormat | The target export format. Refer to the following section for details: Available Export Formats. |
| AFileName | string | An absolute or relative path to the target file. |
Remarks
Call the ExportTo procedure to export dashboard content to a file in any supported format.
Available Export Formats
| AFormat Parameter Value | Content Format | Format-Specific Export Method |
|---|---|---|
| TdxDashboardExportFormat.CSV | Comma-Separated Values (CSV) | ExportToCSV |
| TdxDashboardExportFormat.GIF | Graphics Interchange Format (GIF) | ExportToGIF |
| TdxDashboardExportFormat.JPG | Joint Photographic Experts Group (JPEG/JPG) | ExportToJPG |
| TdxDashboardExportFormat.PDF | Portable Document Format (PDF) | ExportToPDF |
| TdxDashboardExportFormat.PNG | Portable Network Graphics (PNG) | ExportToPNG |
| TdxDashboardExportFormat.SVG | Scalable Vector Graphics (SVG) | ExportToSVG |
| TdxDashboardExportFormat.XLS | Microsoft Excel® Binary Format (XLS) | ExportToXLS |
| TdxDashboardExportFormat.XLSX | Office OpenXML Spreadsheet Format (XLSX) | ExportToXLSX |
Related Compiled Demo
To see the dashboard export functionality in action, run the BI Dashboards Designer/Viewer demo in the VCL Demo Center installed with compiled DevExpress VCL demos. Select any demo in the sidebar on the left, click the Export button, and use any export option listed in the menu.
Tip
You can find full source code for the installed compiled Report demo in the following folder:
%PUBLIC%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressDashboards\