Previous Document Next Document
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 code example converts the first segment of the first subpath of the selected curve to a line:

Sub Test() 
 ActiveShape.Curve.Subpaths(1).FirstSegment.Type = cdrLineSegment 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.