## Macro Command Reference

`ptext <text> <pos> [angle] [offset] [COLOR]`

Adds an auto positioning text label to the document. This command uses the default color and the default font. The generated text label has the tag 998.
`[pos]`: The position for automatically positioned text label (valid values are 1-21).
`[angle]`: The text angle (can be 0, 90, 180 or 270).
`[offset]`: Offset for automatically positioned text label.
`[COLOR]`: The text color as hexadecimal string.