TextString Property

Specifies the text string for the entity.

See Also | Example




Attribute, AttributeReference, MLeaderStyle, MText, Text, Tolerance
The object or objects this property applies to.


String; read-write
The maximum length is 256 characters.


AttributeReference: This is equivalent to the value of the attribute in AutoCAD.

MText: The text string may contain format codes. You can underline, add a line over text, and create stacked text. You can also change color, font, and text height. You can change the spaces between text characters or increase the width of the characters themselves. To apply formatting, or parse existing text strings for their formatting, use the codes shown in the "Format Multiline Text" section of the ActiveX and VBA Developer's Guide.