yucad3d

CadAddTStyle

Creates a new text style and returns its handle.

YuHandle CadAddTStyle ( YuHandle hDwg, const char* szName, const char* szFont );

Parameters

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

Return Value

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

See Also