Back to Devexpress

TdxCustomDashboardControl.ExportTo(TdxDashboardExportFormat,TStream) Method

vcl-dxdashboard-dot-control-dot-tdxcustomdashboardcontrol-dot-exportto-x28-dxbackend-dot-tdxdashboardexportformat-system-dot-classes-dot-tstream-x29.md

latest3.9 KB
Original Source

TdxCustomDashboardControl.ExportTo(TdxDashboardExportFormat,TStream) Method

Exports dashboard content to a stream in any supported format.

Declaration

delphi
procedure ExportTo(AFormat: TdxDashboardExportFormat; AStream: TStream); overload;

Parameters

NameTypeDescription
AFormatTdxDashboardExportFormat

The target export format. Refer to the following section for details: Available Export Formats.

| | AStream | TStream |

The target stream.

|

Remarks

Call the ExportTo procedure to export dashboard content to a stream in any supported format.

Available Export Formats

AFormat Parameter ValueContent FormatFormat-Specific Export Method
TdxDashboardExportFormat.CSVComma-Separated ValuesExportToCSV
TdxDashboardExportFormat.GIFGraphics Interchange Format (GIF)ExportToGIF
TdxDashboardExportFormat.JPGJoint Photographic Experts Group (JPEG)ExportToJPG
TdxDashboardExportFormat.PDFPortable Document Format (PDF)ExportToPDF
TdxDashboardExportFormat.PNGPortable Network Graphics (PNG)ExportToPNG
TdxDashboardExportFormat.SVGScalable Vector Graphics (SVG)ExportToSVG
TdxDashboardExportFormat.XLSMicrosoft Excel® Binary Format (XLS)ExportToXLS
TdxDashboardExportFormat.XLSXOffice OpenXML Spreadsheet Format (XLSX)ExportToXLSX

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.

Download: Compiled VCL Demos

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_

See Also

TdxDashboard.ExportTo(dxBackend.TdxDashboardExportFormat,System.Classes.TStream) Procedure

TdxCustomDashboardControl.ExportTo Procedure

TdxReport.ExportTo Procedure

TdxCustomDashboardControl Class

TdxCustomDashboardControl Members

dxDashboard.Control Unit