DrawText
DrawText [/W=winName ] x0, y0, textStr
The DrawText operation draws the specified text in the target graph, layout or control panel. The position of the text is determined by (x0, y0) along with the current textxjust, textyjust and textrot settings as set by SetDrawEnv.
Flags
| /W=winName | Draws to the named window or subwindow. When omitted, action will affect the active window or subwindow. This must be the first flag specified when used in a Proc or Macro or on the command line. | |
| When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy. | ||
Details
The coordinate system as well as the text's font, size, style and other properties are determined by the current drawing environment. The text is drawn in the current draw layer for the window, as determined by SetDrawLayer.