API Documentation > CorelDRAW > 2025-v26 > Node > IVGNode
Node.SubPath property
Gets the subpath which holds this node
Syntax:
Property Get SubPath() As SubPath
Remarks:
The SubPath property returns the subpath to which a node belongs.
Examples:
The following VBA example displays the length of a node's subpath, measured in document units.
Sub PathLength()
With ActiveShape.Curve.Nodes(1)
  MsgBox .Subpath.Length
End With 
End Sub