CadAddWText
Creates a new window-formatted text (WTEXT) entity and returns its handle.
YuHandle CadAddWText (
YuHandle hDwg,
const char* szText,
double X,
double Y,
double Z
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - szText (const char*)
- NUL-terminated UTF-8 string.
- X (double)
- World coordinate.
- Y (double)
- World coordinate.
- Z (double)
- World coordinate.
Return Value
The handle of the newly created window-formatted text (WTEXT) entity, or 0 on failure.