yucad3d

CadAddText

Creates a new text entity and returns its handle.

YuHandle CadAddText ( 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 text entity, or 0 on failure.

See Also