Previous Document Next Document

Object Model Reference : Classes : N : Node : Properties : Node.Segment


Node.Segment

Property Segment As Segment

Description

Member of Node

The Segment property returns the segment that contains a specified node.

The Segment property returns a read-only value.

VBA example

The following VBA example converts, to a line, the segment that is adjacent to third node in the selected curve.

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.