IntelliCAD 11.1 Object Library
EntityName Property
See Also 
Hatch Object : EntityName Property

Description

Returns the class name of the entity.

Property type

Read-only property

Syntax

Visual Basic
Public Property EntityName As String

Example

Private Sub EntityNameExample()

' This example returns the EntityName property for drawing entities.

     Dim ents As Object

     Dim ent As Object

     Set ents = ActiveDocument.ModelSpace

     MsgBox "No. of entities = " & ents.Count

     Set ent = ents.Item(ents.Count - 1)

     MsgBox "The EntityName property for the last entity is: " & ent.EntityName

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.