# TreeList.ExportToHtml Overloads | WinForms Controls | DevExpress Documentation

# TreeList.ExportToHtml Method

| Name | Parameters | Description |
| --- | --- | --- |
| [ExportToHtml(Stream, HtmlExportOptions)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToHtml%28System.IO.Stream-DevExpress.XtraPrinting.HtmlExportOptions%29) | stream, options | Exports the control’s data to the specified stream in HTML format using the specified options. |
| [ExportToHtml(Stream)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToHtml%28System.IO.Stream%29) | stream | Exports the Tree List’s data as HTML and sends it to the specified stream. |
| [ExportToHtml(String, HtmlExportOptions)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToHtml%28System.String-DevExpress.XtraPrinting.HtmlExportOptions%29) | fileName, options | Exports the control’s data to the specified file in HTML format using the specified options. |
| [ExportToHtml(String)](/WindowsForms/DevExpress.XtraTreeList.TreeList.ExportToHtml%28System.String%29) | fileName | Exports the Tree List’s data to the specified file as HTML. |