version 1
CT Draw text (area; left; top; right; bottom; text) Longint
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| left | Real | Horizontal position of start (in points) | |
| top | Real | Vertical position of start (in points) | |
| right | Real | Horizontal position of end (in points) | |
| bottom | Real | Vertical position of end (in points) | |
| text | Text | Text of new text object | |
| Function result | Longint | The new object's Object ID |
Description
CT Draw text creates a new text object in area and returns the new object's Object ID. The object is positioned according to the left, top, right and bottom coordinates.
Example
The following method draws the text "Hello World" in the top left corner of the chart area.
$Text:=CT Draw text (Area;0;0;300;10;"Hello World")