Previous Document Next Document

Object Model Reference : Classes : N : NodeRange : Methods : NodeRange.AddRange


NodeRange.AddRange

Sub AddRange(NodeRange As NodeRange)

Description

Member of NodeRange

The AddRange method adds nodes from another node range to the current node range.

Parameter
Description
NodeRange
Specifies the range of nodes to add to the current node range

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.