![]() |
![]() |
Nodes.AllExcluding
Function AllExcluding(IndexArray() As Variant) As NodeRange
Member of Nodes
The AllExcluding method returns a NodeRange object that contains all of the nodes from the collection except for the specified nodes.
The AllExcluding method accepts 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 deletes all nodes in the curve, with the exception of the first three nodes. Deleting nodes alters the appearance of the active shape.
Sub Test() Dim nr As NodeRange Set nr = ActiveShape.Curve.Nodes.AllExcluding(1, 2, 3) nr.Delete End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.