Click or drag to resize
TreeViewSpreadExport Class
TreeViewSpreadExport is a powerful exporting API, allowing to export RadTreeView to XLSX, PDF, CSV, and TXT format, utilizing the Document Processing Libraries.
Inheritance Hierarchy
SystemObject
  Telerik.WinControls.ExportTreeViewSpreadExport

Namespace: Telerik.WinControls.Export
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2017.3.1017.40 (2017.3.1017.40)
Syntax
public class TreeViewSpreadExport

The TreeViewSpreadExport type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewSpreadExport(RadTreeView)
Initializes a new instance of the TreeViewSpreadExport class.
Public methodTreeViewSpreadExport(RadTreeView, SpreadExportFormat)
Initializes a new instance of the TreeViewSpreadExport class.
Top
Properties
  NameDescription
Public propertyCollapsedNodeOption
Gets or sets a value indicating how children of collapsed nodes are exported.
Public propertyExportChildNodesGrouped
Gets or sets a value indicating whether to export child nodes grouped.
Public propertyExportFormat
Gets or sets the format of the exported file - XLSX, PDF, CSV or TXT.
Public propertyExportImages
Gets or sets a value indicating whether to export images.
Public propertyExportVisualSettings
Gets or sets a value indicating whether the visual settings should be exported.
Public propertyFileExportMode
Specifies whether a file will be exported as a new file, or if a file with the same name already exists at the specified path, a new sheet will be added to it.
Public propertyNodeIndent
Gets or sets the indent of child nodes.
Public propertySheetMaxRows
Gets or sets the maximum number of rows per sheet.
Public propertySheetName
Gets or sets the name of the sheet.
Top
Methods
  NameDescription
Public methodCancelExportAsync
Cancels an asynchronous export operation.
Protected methodConvertImageToByteArray
Protected methodCreateCell
Protected methodCreateImageOverCell
Protected methodGetStylesFromVisualCell
Protected methodOnAsyncExportCompleted
Raises the [E:AsyncExportCompleted] event.
Protected methodOnAsyncExportProgressChanged
Raises the [E:AsyncExportProgressChanged] event.
Protected methodOnCellFormatting
Raises the [E:CellFormatting] event.
Protected methodOnExportCompleted
Raises the [E:ExportCompleted] event.
Public methodRunExport(Stream, ISpreadExportRenderer)
Starts an export operation.
Public methodRunExport(String, ISpreadExportRenderer)
Starts an export operation.
Public methodRunExport(Stream, ISpreadExportRenderer, String)
Starts an export operation, in the specified sheet. If such sheet does not exist, it gets created.
Public methodRunExport(String, ISpreadExportRenderer, String)
Starts an export operation, in the specified sheet. If such sheet does not exist, it gets created.
Public methodRunExportAsync(Stream, ISpreadExportRenderer)
Starts an export operation that runs in a background thread. Note that if ExportVisualSettings is true, collecting the visual styles from the RadTreeView will still execute on the UI thread.
Public methodRunExportAsync(String, ISpreadExportRenderer)
Starts an export operation that runs in a background thread. Note that if ExportVisualSettings is true, collecting the visual styles from the RadTreeView will still execute on the UI thread.
Public methodRunExportAsync(Stream, ISpreadExportRenderer, String)
Starts an async export operation, in the specified sheet. If such sheet does not exist, it gets created. Note that if ExportVisualSettings is true, collecting the visual styles from the RadTreeView will still execute on the UI thread.
Public methodRunExportAsync(String, ISpreadExportRenderer, String)
Starts an async export operation, in the specified sheet. If such sheet does not exist, it gets created. Note that if ExportVisualSettings is true, collecting the visual styles from the RadTreeView will still execute on the UI thread.
Top
Events
  NameDescription
Public eventAsyncExportCompleted
Occurs when an async export operation is completed.
Public eventAsyncExportProgressChanged
Occurs when the progress of an async export operation changes.
Public eventCellFormatting
Occurs for every cell that is being exported.
Public eventExportCompleted
Occurs when the export process completes.
Top
See Also