Object Model Reference : Classes : N : NodeRange : Methods : NodeRange.AddRange |
Sub AddRange(NodeRange As NodeRange)
Member of NodeRange
The AddRange method adds nodes from another node range to the current node range.
The following VBA example sets the node type to smooth for all nodes on the first and second subpaths of the selected curve.
Sub Test() |
Dim nr As NodeRange |
Set nr = ActiveShape.Curve.Subpaths(1).Nodes.All |
nr.AddRange ActiveShape.Curve.Subpaths(2).Nodes.All |
nr.SetType cdrSmoothNode |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.