Previous Document Next Document
NodeRange.Delete

Sub Delete()

Member of NodeRange

The Delete method removes all of the nodes in a node range. The nodes are physically removed from the curve object.

The following code example deletes all of the selected nodes in the curve. Deleting all nodes results in the deletion of the curve. An object must be selected before this macro is executed.

Sub Test() 
 ActiveShape.Curve.Selection.Delete 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.