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