Previous Document Next Document
Node.IsEnding

Property IsEnding As Boolean

Member of Node

The IsEnding property returns True if the node is the first or last node of an open subpath.

The IsEnding property returns a read-only value.

The following code example marks each ending node in a curve with a small circle:

Sub Test() 
 Dim n As Node 
 For Each n In ActiveShape.Curve.Nodes 
  If n.IsEnding Then 
   ActiveLayer.CreateEllipse2 n.PositionX, n.PositionY, 0.1 
  End If 
 Next n 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.