Previous Document Next Document

Object Model Reference : Classes : S : Segments : Methods : Segments.AllExcluding


Segments.AllExcluding

Function AllExcluding(IndexArray() As Variant) As SegmentRange

Description

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

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.