About Formatting Line Text (VBA/ActiveX)

You can change the formatting of the Text object by changing the text style associated with it, or by editing the properties of the Text object. You cannot apply formats to individual words and characters.

To change a text style associated with an individual Text object, set the StyleName property to a new text style. Once you have changed the text style, use the Update method for the Text object to see the changes in your drawing.

In addition to the standard editable properties for entities (color, layer, linetype, and so forth), other properties that you can change on a Text object include the following:

Alignment
Specifies the horizontal and vertical alignment for the text.
InsertionPoint
Specifies the insertion point for the text.
ObliqueAngle
Specifies the oblique angle of the individual text object.
Rotation
Specifies the rotation angle in radians for the text.
ScaleFactor
Specifies the scale factor for the text.
TextAlignmentPoint
Specifies the alignment point for the text.
TextGenerationFlag
Specifies whether the text is displayed backward, upside-down, or both simultaneously.
TextString
Specifies the actual text string displayed.

Once you have changed a property, use the Update method to see the changes in your drawing.