MText object |
A paragraph of alphanumeric characters that fits within a nonprinting text boundary.
VBA class name: |
AcadMtext |
---|---|
Create using: |
ModelSpace.AddMText |
Access via: |
ModelSpace.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 |
Properties |
Events |
Comments? |