public class ASPxTreeListExporter :
Public Class ASPxTreeListExporter
The ASPxTreeListExporter component allows the ASPxTreeList's data to be exported to a file or stream in various formats - PDF, RTF and XLS. To export data, assign the required ASPxTreeList's ID to the ASPxTreeListExporter.TreeListID property, and use the export method you desire. For example, to export data to a file in XLS format, use the ASPxTreeListExporter.WriteXlsToResponse method.
The ASPxTreeListExporter doesn't export the content of template columns, and data columns that are hidden.
This example shows how to draw department names in an exported document, based on their budget. Department names are painted in Orange if their budget is less than $100,000.