Object Model Reference : Classes : S : Segments : Methods : Segments.AllExcluding |
Function AllExcluding(IndexArray() As Variant) As SegmentRange
Member of Segments
The AllExcluding method returns a SegmentRange object containing all segments (except for specified segments) from a Segments collection.
• |
This 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 segments
|
The following VBA example adds a node to the middle of each curve segment except the first three.
Sub Test() |
Dim sgr As SegmentRange |
Set sgr = ActiveShape.Curve.Segments.AllExcluding(1, 2, 3) |
sgr.AddNode |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.