Previous Document Next Document

Object Model Reference : Classes : N : Nodes : Properties : Nodes.Count


Nodes.Count

Property Count As Long

Description

Member of Nodes

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

The Count property returns a read-only value.

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.