Previous Document Next Document

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


Node.NextSegment

Property NextSegment As Segment

Description

Member of Node

The NextSegment property returns the next segment that is adjacent to a node, or it returns Nothing if no such segment exists.

The NextSegment property returns a read-only value.

VBA example

The following VBA example creates an ellipse on the active layer, converts it to curves, and returns its first segment.

Sub Test()
 Dim s1 As Shape
 Dim sg As Segment
 Set s1 = ActiveLayer.CreateEllipse(0, 0, 2, 2)
 s1.ConvertToCurves
 Set sg = s1.Curve.Nodes(1).NextSegment
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.