Previous Document Next Document

Object Model Reference : Classes : S : SubPath : Properties : SubPath.Segments


SubPath.Segments

Property Segments As Segments

Description

Member of SubPath

The Segments property returns a Segments collection, which contains all the segments of a subpath.

The Segments property returns a read-only value.

VBA example

The following VBA example converts, to lines, all segments in the first subpath.

Sub Test()
 Dim seg As Segment
 For Each seg In ActiveShape.Curve.Subpaths(1).Segments
  seg.Type = cdrLineSegment
 Next seg
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.