TdxReport.ExportTo(TdxReportExportFormat,TStream) Method
Exports report content to a stream in any supported format.
Declaration
procedure ExportTo(AFormat: TdxReportExportFormat; AStream: TStream); overload;
Parameters
| Name | Type | Description |
|---|---|---|
| AFormat | TdxReportExportFormat | 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 report content to a stream in any supported format. The ExportTimeout property specifies the timeout interval for export operations.
Available Export Formats
| AFormat Parameter Value | Content Format | Format-Specific Export Method |
|---|---|---|
| TdxReportExportFormat.CSV | Comma-Separated Values (CSV) | ExportToCSV |
| TdxReportExportFormat.DOCX | Office Open XML Document (DOCX) | ExportToDOCX |
| TdxReportExportFormat.HTML | Hypertext Markup Language (HTML) | ExportToHTML |
| TdxReportExportFormat.Image | The current image format (selected in the Report Designer dialog) | ExportToImage |
| TdxReportExportFormat.MHT | MIME HTML Document Format (MHT/MHTML) | ExportToMHT |
| TdxReportExportFormat.PDF | Portable Document Format (PDF) | ExportToPDF |
| TdxReportExportFormat.RTF | Rich Text Format (RTF) | ExportToRTF |
| TdxReportExportFormat.Text | Plain Text Format (TXT) | ExportToText |
| TdxReportExportFormat.XLS | Microsoft Excel® Binary Format (XLS) | ExportToXLS |
| TdxReportExportFormat.XLSX | Office Open XML Spreadsheet (XLSX) | ExportToXLSX |
See Also