AddFreeText Command

Adds a free text item to the currently selected graph sheet. Free Text is a graph annotation object. See Graph Objects for full details.

AddFreeText [/font <font-name>] [/colour <colour-name>]  [/align <align>] <text> [<x-pos> [<y-pos>]]

Parameters

/align

Integer that specifies alignment of text. Possible values:
0 Left bottom
1 Centre bottom
2 Right bottom
4 Left base line
5 Centre base line
6 Right base line
8 Left top
9 Centre top
10 Right top
12 Left middle
13 Centre middle
14 Right middle

/colour

Name of colour to be used for text. Name of option setting that will store the colour of the object in the form #rrggbb. Default is "GraphColourFreeText"

/font

Name of font object to be used for text object. This must with the CreateFont command. See CreateFont for details. Default is "Graph Free Text"

text

The text to be displayed

x-pos

x-co-ordinate of the text in view units (See Graph Co-ordinate Systems ). Default = 0.5.

y-pos

y-co-ordinate of the text in view units (See Graph Co-ordinate Systems ). Default = 0.5.