API Documentation > CorelDRAW > 2025-v26 > TreeNode > IVGTreeNode
TreeNode.LinkAsChildOf method
Inserts the node into the document tree as the first child of the specified node
Syntax:
Function LinkAsChildOf(ByVal TreeNode As TreeNode) As Boolean
Parameters:
Name Type Description
TreeNode
Remarks:
The LinkAsChildOf method inserts a tree node into the document tree as the first child of the specified node.