AddText Method

Creates a single line of text.

See Also | Example

Signature

RetVal = object.AddText(TextString, InsertionPoint, Height)

Object

ModelSpace Collection, PaperSpace Collection, Block
The object or objects this method applies to.

TextString

String; input-only
The actual text to be displayed.

InsertionPoint

Variant (three-element array of doubles); input-only
The 3D WCS coordinates on the drawing where the text is placed.

Height

Double; input-only
The height of the text. Must be a positive number.

RetVal

Text object
The newly created Text object.

 

   Comments?