yucad3d

CadAddLeader

Creates a new leader and returns its handle.

YuHandle CadAddLeader ( YuHandle hDwg, const char* szText );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
szText (const char*)
NUL-terminated UTF-8 string.

Return Value

The handle of the newly created leader, or 0 on failure.

See Also