The requested page is not available for the requested platform. You are viewing the content for Default platform.

XtraReport.ExportToRtf(Stream, RtfExportOptions) Method

Exports a document to the specified file path in RTF format.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll


public void ExportToRtf(
    Stream stream,
    RtfExportOptions options
Public Sub ExportToRtf(
    stream As Stream,
    options As RtfExportOptions


Name Type Description
stream Stream

A Stream object to which the created RTF file should be sent.

options RtfExportOptions

An RtfExportOptions object, containing RTF export settings.


Once the document export has started, it will run until the resulting document is complete and cannot be interrupted or canceled in the process.


This method overwrites any files present at the specified path that have the same file name without any warnings.


For more information on using the ExportToRtf method, and limitations on export to RTF, please refer to the Export to RTF document.

See Also