"text"

Gets or sets the content of a primitive text object.

Synopsis

setValue(string shape, "text", dynLangString/ dyn_int/ dyn_float contents);

getValue(string shape, "text", dynLangString/dyn_int/dyn_float&contents);

shape.text(dynLangString/dyn_int/dyn_float contents);

Parameters

Parameter Description
shape Name of the object
contents Text contents. A text or a number.

Description

Gets or sets the content of a primitive text object.

The string must not contain more than 1023 characters for setValue().

Example

main()
{
  dyn_float v = 4.7;
  this.text(v);
  /* the content of the text could also be a dyn_langString e.g.
  dyn_langString = "Select"; or dyn_int e.g. dyn_int val = 2; */
}

Assignment

Primitive text