![]() |
![]() |
NodeRange.Remove
Sub Remove(Index As Long)
Member of NodeRange
The Remove method takes a specified node out of a NodeRange.
Removing a node doesnt delete the node from a curve. The node is not included in future references to the range.
The following code example gets the selected nodes, removes the first and last selected node from the range, and deletes the remaining nodes. As a result, all of the selected nodes (except the first and last) are deleted from the curve.
Sub Test() Dim nr As NodeRange Set nr = ActiveShape.Curve.Selection nr.Remove 1 nr.Remove nr.Count nr.Delete End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.