Command AddText

Menu: Add > Text

Icon:

Mouse Stroke:




Description: Adds text to the database. The text placement point must be entered in any case.

The angle of the baseline can be optionally specified. The default baseline angle is 0.

The text can be justified horizontally at the left, center and right position and vertically at the baseline, bottom, top and center position. The default horizontal justification is left, the default vertical justification is baseline.

The text consists of a sequence of Unicode characters. Since the character set to be entered by a keyboard is finite the backslash '\' is used to indicate that the characters following it should be treated specially. For instance, the character '\' must be entered as \\ and qotation marks are to be described by \". Line breaks are described by \n (new line).

Any character can be specified by its Unicode in the form '\u' followed by a 4 digit hexadecimal number. A complete Unicode character table can be found here. Examples are
\u03c0: Greek small letter Pi
\u00d8: Latin capital letter O with Stroke
\u00a9: Copyright sign
\u00ae: Registered sign

The text can be enclosed in qotation marks. If, however, the text contains white space then the whole text must be enclosed in qotation marks like in "Text with white space". The reason is that CADEMIA would otherwise interpret the text as separate arguments.

The text rendering is dependent on the drawing scale. Since the text size is specified in paper units it is scaled by the drawing scale while editing (which is always done in the scale 1:1).

Examples: