Creating Single-Line Text

Single-line text is an individual line of text contained in one Text object. It is useful for labels and short notes. If you have longer notes that may exceed one line, use paragraph text (Mtext). To create single-line text, use the AddText method. In either case, you need to provide three values as input: the text string, the insertion point, and the height of the text.

The text string is the text you wish displayed - entered as either a string variable or as a literal string enclosed in quotes. The insertion point is a Variant indicating the coordinate location for placing the text. The text height is a real number defining the height of the upper-case characters in drawing units.


Tell me about...

Creating Paragraph Text


Examples ...

AddMtext Method Example


© Bricsys NV. All rights reserved.