I_TEXT generates a textstring within the drawing area defined by a preceding I_CANVAS command; therefore, it may be used only in conjunction with I_CANVAS.
For this the current settings defined by I_COLOR and I_PEN are used.
Syntax
I_TEXT x_pos, y_pos, x_len, y_len, text [, id]
Parameters
x_pos, y_pos (integer): X resp. Y coordinate of the starting point; position (left bottom point) of the text.
x_len, y_len (integer): length and height of the text.
text (string): text to be drawn.
id (integer): unique identifier; at a click on the object, the global variable GLOB_UI_BUTTON_ID is set to the ID specified in the parameter id.
Remarks
For more information see I_CANVAS.
Usable since script version 2.0 (Allplan 2014-1).
|
(C) ALLPLAN GmbH |
Privacy policy |