TreeListExtension.WriteXls(TreeListSettings, Stream, XlsExportOptions) Method

Exports the TreeList’s data to a stream in XLS with the specified export settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public static void WriteXls(
    TreeListSettings settings,
    Stream stream,
    XlsExportOptions exportOptions
)

Parameters

Name Type Description
settings TreeListSettings

A TreeListSettings object that contains Tree List settings.

stream Stream

A Stream object to which the data is exported.

exportOptions XlsExportOptions

An XlsExportOptions object that provides export options.

See Also