yucad3d

CadSetCurTStyle

Set the active text style — new TEXT / MTEXT seed from it.

std::int32_t CadSetCurTStyle ( YuHandle hDwg, YuHandle hTStyle );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hTStyle (YuHandle)
Handle to the style.

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

Remarks

By style handle, by id (handle == id in yucad), or by name.

See Also