Skip to main content
All docs
V25.2
  • TdxDashboard.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 Format
    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

    View Example: Generate Dashboards in a Backend/Service Application

    See Also