API Documentation > CorelDRAW > 2025-v26 > Node > IVGNode
Node.IsEnding property
Gets whether the node is the first or last of its subpath
Syntax:
Property Get IsEnding() As Boolean
Remarks:
The IsEnding property returns True if a node is the first or last node of an open subpath.
Examples:
The following VBA example marks, with a small circle, each ending node in a curve.
Sub Test()
Dim n As Node
For Each n In ActiveShape.Curve.Nodes
  If n.IsEnding Then

 ActiveLayer.CreateEllipse2 n.PositionX, n.PositionY, 0.1
  End If
Next n 
End Sub