The TEXT Statement
- Last UpdatedJan 07, 2026
- 1 minute read
TEXT,<txt_name>,<txt_pnt>
[/TEXTLINE=<txt_str>]
[/TEXTDECNO=<txt_dec>]
[/TEXTINTNO=<txt_int>]
[/TEXTANGLE=<txt_ang>]
[/TEXTHEIGHT=<txt_hgt>]
[/TEXTFONT=<txt_fnt>];
<txt_name> is the name of the text line and has the type TEXT_2D. The maximum length of <txt_name> is 32 characters.
<txt_pnt> is the text origin which is the lower left corner of the text. It has the type POINT_2D.
TEXTDECNO=<txt_dec>
<txt_dec> is a number which shall be presented as a text. It has the type DECIMAL.
TEXTINTNO=<txt_int>
<txt_int> is a number which will be presented as a text. It has the type INTEGER.
TEXTLINE=<txt_str>
<txt_str> is a string which will be presented as a text. It has the type STRING.
TEXTANGLE=<txt_ang>
<txt_ang> is the text angle and has the type DECIMAL. The default angle is 0.0 but the text angle can be changed with this attribute.
TEXTHEIGHT=<txt_hgt>
<txt_hgt> is the text height and has the type DECIMAL. The text is given a default height value but the text height can be changed with this attribute.
TEXTFONT=<txt_fnt>
<txt_fnt> is the text font and has the type INTEGER. Available font numbers are 0-99. The default font number is 0.
Structure:
|
TEXT |
(STRING) |
|
|
PNT(1:2) |
(DECIMAL) |
|
|
ANGLE |
(DECIMAL) |
|
|
HEIGHT |
(DECIMAL) |
|
|
Example: |
||
|
GET/STRUCTURE=(T,<txt_name>,'TEXT' |
||
|
/STRUCTURE=(X,<txt_name>,'PNT',1) |
||
|
/STRUCTURE=(A,<txt_name>,'ANGLE') |
||
|
/STRUCTURE=(H,<txt_name>,'HEIGHT'); |
||