Text Object (ActiveX)

A single line of alphanumeric characters.

Supported Platforms: Windows only

Class Information

Class Name

AcadText

Object Inheritance
Object
   AcadObject
      AcadEntity
         AcadText
Create Using

VBA

ModelSpace.AddText
PaperSpace.AddText
Block.AddText
Access Via

VBA

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item

Members

These members are part of this object:

Remarks

This object differs from the MText object in that it creates only a single line of text. The MText object creates a paragraph of text.

Note that RTF text is not recognized. Text from other programs with embedded formatting will lose formatting when imported into an multiline text paragraph.

To create a Text object, use the AddText method.