Skip to main content

ASPxTreeList.ExportToRtf(Stream, RtfExportOptions) Method

Exports the ASPxTreeList’s data to the specified stream in RTF format using the specified options.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void ExportToRtf(
    Stream stream,
    RtfExportOptions options
)

Parameters

Name Type Description
stream Stream

A Stream object, to which the data is exported.

options RtfExportOptions

A RtfExportOptions object which specifies the export options to be applied when the control is exported.

Remarks

This method indirectly calls the PrintingSystemBase.ExportToRtf method of the XtraPrinting Library. If this library is not available, the ExportToRtf method does nothing. For details, see PrintingSystemBase.ExportToRtf.

DevExpress controls require the DevExpress.RichEdit.v23.2.Export.dll library to export their content to DOCX or RTF format.

See Also