# TKE_Text

## Opcode

ASCII | T
Hexadecimal | 54
Decimal | 84

## Operands

Point position, Variable length, (length)xByte string,
Byte options, [Byte region_options, Byte region_count,
(region_count)xPoint region]

position | reference point of the text
length | length of the string. Value is a Byte, but if the value is 254, the real length follows as an additional Short, or if 255 as an additional Long.
string | text string
options | additional text options
region_options | text region options
region_count | number of points defining the text region
region | points defining the text region

## Notes

Text string is inserted into the currently open segment. For multi-byte character strings TKE_Text_With_Encoding should be used.

### Options

0x01 | Text Region, region_options, region_count, region present if on

#### Region Options:

0x01 | World Space, coordinates are points in modelling coordinates, rather than window coordinates, if on
0x02 | Relative Coordinates, region is specified relative to the text insertion point, rather than absolute coordinates, if on

Version 6.00 and before only supported a simple `Byte length`. Options and Text Region added in 10.02.