API Documentation > CorelDRAW > 2025-v26
IVGTreeManager interface
The main interface for TreeManager class
Syntax:
Interface IVGTreeManager
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