codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Text object

A single line of alphanumeric characters.

VBA class name:

AcadText 

Create using:

ModelSpace.AddText
PaperSpace.AddText
Block.AddText 

Access via:

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

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 isn't recognized. Text from other programs with embedded formatting will lose formatting when imported into an mtext paragraph.

To create a Text object, use the AddText method. To edit or query a Text object, use the following methods and properties:

Methods

ArrayPolar

ArrayRectangular

Copy

Delete

FieldCode

GetBoundingBox

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Rotate

Rotate3D

ScaleEntity

SetXData

TransformBy

Update

Properties

Application

Alignment

Backward

Document

Handle

HasExtensionDictionary

Height

Hyperlinks

InsertionPoint

Layer

Linetype

LinetypeScale

Lineweight

Normal

ObjectID

ObjectName

ObliqueAngle

OwnerID

PlotStyleName

Rotation

ScaleFactor

StyleName

TextAlignmentPoint

TextGenerationFlag

TextString

Thickness

TrueColor

UpsideDown

Visible  

Events

Modified  

 

   Comments?