IntelliCAD 11.1 Object Library
Count Property
See Also 
Points Collection : Count Property

Description

Returns the number of attributes in the collection.

Property type

Read-only property

Syntax

Visual Basic
Public Property Count As Long

Example

Private Sub CountExample()
' This example demonstrates how to count the number of entities using

' the Count property.

     Dim ents As Object

     Dim ent As Entity

     Dim ct As Long

     Set ents = ActiveDocument.ModelSpace

     ct = ents.Count

     MsgBox "No. of entities = " & ct

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.