API Documentation > CorelDRAW > 2025-v26 > TreeNode > IVGTreeNode
TreeNode.IsDescendentOf method
Returns True if the node is a direct or indirect child of the specified node
Syntax:
Function IsDescendentOf(ByVal TreeNode As TreeNode) As Boolean
Parameters:
Name Type Description
TreeNode
Remarks:
The IsDescendentOf method returns True if a tree node is a direct or indirect child of the specified node.