API Documentation > CorelDRAW > 2025-v26 > NodeRange > IVGNodeRange
NodeRange.Delete method
Deletes all the nodes within the range
Syntax:
Sub Delete()
Remarks:
The Delete method removes all nodes in a node range. The nodes are physically removed from the curve object. Deleting all nodes from a curve deletes the curve itself.
Examples:
The following VBA example deletes all selected nodes in the curve.
Sub Test()
ActiveShape.Curve.Selection.Delete 
End Sub