Skip to main content
A newer version of this page is available. .

XtraReport.ExportToRtf(String, RtfExportOptions) Method

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public void ExportToRtf(
    string path,
    RtfExportOptions options
)

Parameters

Name Type Description
path String

A String which specifies the file name (including the full path) for the created RTF file.

options RtfExportOptions

An RtfExportOptions object, containing RTF export settings.

Remarks

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

Note

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

Note

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

See Also