Previous Document Next Document
Nodes.Count

Property Count As Long

Member of Nodes

The Count property returns the total number of nodes in the Nodes collection.

The Count property returns a read-only value.

The following code example displays the number of nodes, segments, and subpaths in the curve:

Sub Test() 
 Dim crv As Curve 
 Set crv = ActiveShape.Curve 
 MsgBox "The curve contains:" & vbCr & _ 
  "Nodes: " & crv.Nodes.Count & vbCr & _ 
  "Segments: " & crv.Segments.Count & vbCr & _ 
  "Subpaths: " & crv.Subpaths.Count 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.