Previous Document Next Document

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


SubPath.LastSegment

Property LastSegment As Segment

Description

Member of SubPath

The LastSegment property returns the last segment of a subpath.

The LastSegment property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.