API Documentation > CorelDRAW > 2025-v26 > Node > IVGNode
Node.AbsoluteIndex property
Gets the index of the node within the curve
Syntax:
Property Get AbsoluteIndex() As Long
Remarks:
The AbsoluteIndex property returns the index number of a node within a curve (including all subpaths for the curve). The Index property returns the index number of a node within its subpath. The AbsoluteIndex and Index properties return the same value if the node belongs to the first subpath of the curve.
Examples:
The following VBA example loops through each node of each subpath and prints the Index and AbsoluteIndex properties in the Intermediate window of the Macro Editor.
Sub Test()
Dim s As Shape
Dim sp As SubPath
Dim n As Node
Set s = ActiveShape
If s.Type = cdrCurveShape Then
  For Each sp In s.Curve.Subpaths

 For Each n In sp.Nodes


Debug.Print n.Index, n.AbsoluteIndex

 Next n
  Next sp
End If 
End Sub