DW_TEXT
Syntax
handle_val = DW_TEXT ( x, y, text[, xref, yref] );
- Input arguments
-
float x, y The coordinates of the text location. string text The text content.
- Optional input arguments
-
float xref, yref The coordinates of the reference point.
Return Values
- Success:
-
handle dw_obj The handle of the text.
- Failure:
-
int 0 Operation failed.
Description
This function inserts new text into the drawing at X,Y, using the active text type, color, pen, etc. An optional reference point for the text may be specified. The returned handle can be used in subsequent calls to move, edit, or delete the text object.