Previous Document Next Document

Object Model Reference : Classes : N : Nodes : Methods : Nodes.Range


Nodes.Range

Function Range(IndexArray() As Variant) As NodeRange

Description

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

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.