TdxReport.ExportToRTF(TStream) Method
Exports report content to a stream as an RTF-formatted string.
Declaration
procedure ExportToRTF(AStream: TStream);
Parameters
Name | Type | Description |
---|---|---|
AStream | TStream | The target format. |
Remarks
Call the ExportToRTF
procedure to export report content to a stream (as a synchronous operation) in the RTF format. The ExportTimeout property specifies the timeout interval (in milliseconds) for synchronous export operations.
RTF Export Settings
The Report Designer dialog allows you to configure RTF export settings. Open the Properties tab and expand the following nodes to modify RTF export settings: Behavior | Export Options | RTF Export Options.
Other Synchronous Export Methods
You can call the following procedures to export report content to a stream (as a synchronous operation) in other formats:
- ExportTo
- Exports report content to a stream in any supported format.
- ExportToCSV
- Exports report content to a stream in the comma-separated values (CSV) format.
- ExportToDOCX
- Exports report content to a stream as a DOCX document.
- ExportToHTML
- Exports report content to a stream as an HTML document.
- ExportToImage
- Exports report content to a stream in the current image export format.
- ExportToMHT
- Exports report content to a stream as a MIME HTML document.
- ExportToPDF
- Exports report content to a stream in PDF format.
- ExportToText
- Exports report content to a stream as plain text.
- ExportToXLS
- Exports report content to a stream in Microsoft Excel® binary format (XLS).
- ExportToXLSX
- Exports report content to a stream in Office Open XML spreadsheet format (XLSX).
Asynchronous Export Operations
Call the StartExportAsync procedure to initiate an asynchronous report export operation. To receive asynchronous export results, handle the OnExported event.