Back to Devexpress

TreeList.ExportToRtf(Stream) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-dot-exporttortf-x28-system-dot-io-dot-stream-x29.md

latest2.0 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public virtual void ExportToRtf(
    Stream stream
)
vb
Public Overridable Sub ExportToRtf(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

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

ExportToHtml

ExportToPdf

ExportToText

ExportToXls

ExportToXml

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace