Label Object (ActiveX/CAO)

A multiline text object that displays data in an AutoCAD drawing from selected fields in an external database table.

VBA class name: Label

Create using: LinkTemplate.CreateLabel

Access via: Link.Label

A Label object can be obtained from a Link object if the link type is either an attached label or a freestanding label. You cannot update the properties of a label object.

To delete a label, delete its associated link. To edit or query a label, use the following methods and properties:

Methods Properties Events

Hide

Refresh

Reload

Show

DbConnect

DisplayValues

Document

LabelTemplate

LeaderObjectId

Link

MTextObjectId

None