Object Model Reference : Classes : S : SubPath : Properties : SubPath.FirstSegment |
Property FirstSegment As Segment
Member of SubPath
The FirstSegment property returns the first segment of a subpath.
The FirstSegment property returns a read-only value.
The following VBA example converts, to a line, the first segment of the first subpath of the selected curve.
Sub Test() |
ActiveShape.Curve.Subpaths(1).FirstSegment.Type = cdrLineSegment |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.