Previous Document Next Document
Node.Segment

Property Segment As Segment

Member of Node

The Segment property returns the segment that contains the node.

The Segment property returns a read-only value.

The following code example converts the segment that is adjacent to third node in the selected curve to a line:

Sub Test() 
 ActiveShape.Curve.Nodes(3).Segment.Type = cdrLineSegment 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.