CT Draw text

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT Draw text (area; left; top; right; bottom; text) Longint

ParameterTypeDescription
areaLongint4D Chart area
leftRealHorizontal position of start (in points)
topRealVertical position of start (in points)
rightRealHorizontal position of end (in points)
bottomRealVertical position of end (in points)
textTextText of new text object
Function resultLongintThe 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")

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next