Skip to main content

TreeList.ExportToDocx(Stream, DocxExportOptions) Method

Exports the control’s data in the Office Open XML format (DOCX file) 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 ExportToDocx(
    Stream stream,
    DocxExportOptions options
)

Parameters

Name Type Description
stream Stream

A Stream object that specifies the stream to which the document should be sent.

options DocxExportOptions

A DocxExportOptions object that specifies how to export data.

See Also