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

A paragraph of alphanumeric characters that fits within a nonprinting text boundary.

VBA class name:

AcadMtext 

Create using:

ModelSpace.AddMText
PaperSpace.AddMText
Block.AddMText 

Access via:

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

You define the text boundary, which specifies the width and alignment of the paragraph. Each MText object is a single object, regardless of the number of lines it contains. The text boundary, although not plotted or printed, remains part of the object's framework.

MText objects use word wrap to break long lines into paragraphs. AutoCAD automatically breaks lines at the edge of the text boundary, as specified by the Width property.

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 an MText object use the AddMText method. To edit or query an MText 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

AttachmentPoint

BackgroundFill

Document

DrawingDirection

Handle

HasExtensionDictionary

Height

Hyperlinks

InsertionPoint

Layer

LineSpacingDistance

LineSpacingFactor

LineSpacingStyle

Linetype

LinetypeScale

Lineweight

Normal

ObjectID

ObjectName

OwnerID

PlotStyleName

Rotation

StyleName

TextString

TrueColor

Visible

Width  

Events

Modified  

 

   Comments?