Previous Document Next Document

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


SubPath.FirstSegment

Property FirstSegment As Segment

Description

Member of SubPath

The FirstSegment property returns the first segment of a subpath.

The FirstSegment property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.