A paragraph of alphanumeric characters that fits within a nonprinting text boundary.
Supported Platforms: Windows only
Class Information
- Class Name
-
AcadMtext
- Object Inheritance
-
Object AcadObject AcadEntity AcadMtext
- Create Using
-
VBA
ModelSpace.AddMText PaperSpace.AddMText Block.AddMText
- Access Via
-
VBA
ModelSpace.Item PaperSpace.Item Block.Item SelectionSet.Item Group.Item
Members
These members are part of this object:
Methods |
Properties |
Events |
---|---|---|
Remarks
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 is not recognized. Text from other programs with embedded formatting will lose formatting when imported into an multiline text paragraph.
To create an MText object use the AddMText method.