Previous Document Next Document
Nodes.Range

Function Range(IndexArray() As Variant) As NodeRange

Member of Nodes

The Range method returns a NodeRange object that contains all specified nodes from the collection.

The Range method accepts a variable number of arguments. It also accepts arrays.

Parameters
Description
IndexArray
Specifies a range of index numbers that identify and group specific nodes

The following code example moves nodes the first, third, and fifth nodes by 2" towards the top of the page:

Sub Test() 
 Dim nr As NodeRange 
 Set nr = ActiveShape.Curve.Nodes.Range(Array(1, 3, 5)) 
 nr.Move 0, 2 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.