Object Model Reference : Classes : N : Nodes : Methods : Nodes.Range |
Function Range(IndexArray() As Variant) As NodeRange
Member of Nodes
The Range method returns a node range that contains all specified nodes in a Nodes collection.
• |
The Range method accepts a variable number of arguments. It also accepts
arrays.
|
Parameter
|
Description
|
IndexArray
|
Specifies a range of index numbers that identify and group specific nodes
|
The following VBA example moves nodes the first, third, and fifth nodes by two inches 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 |
Copyright 2013 Corel Corporation. All rights reserved.