Skip to main content

TreeList.ExportToRtf(Stream) Method

Exports the Tree List’s data as Rich Text and sends it to the specified stream.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public virtual void ExportToRtf(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object which the created document is exported to.

Remarks

The Tree List’s data can only be exported if the XtraPrinting Library is available. Use the TreeList.IsPrintingAvailable property to check whether the Tree List’s data can be exported.

See Also