Previous Document Next Document

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


Nodes.AllExcluding

Function AllExcluding(IndexArray() As Variant) As NodeRange

Description

Member of Nodes

The AllExcluding method returns a node range that contains all nodes in a Nodes collection except for the specified nodes.

 
The AllExcluding 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 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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.