API Documentation > CorelDRAW > 2025-v26
TreeManager class
TreeManager class
Syntax:
Class TreeManager
Remarks:
The TreeManager class represents the settings for a tree.
Properties:
Name Description
FirstSelectedNode Returns the first selected tree node
SelectedNodeCount Returns the number of selected nodes in the document
VirtualLayer Returns a virtual Layer object which can be used solely to create unlinked virtual shapes
Methods:
Name Description
CleanGroupNode Eliminates empty group and group containing only one child node
CreateGroupNode Creates an unlinked group node