CadAddLinetype
Creates a new linetype and returns its handle.
std::int32_t CadAddLinetype (
YuHandle hDwg,
const char* szName,
const char* szData,
const char* szPict
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - szName (const char*)
- NUL-terminated UTF-8 string.
- szData (const char*)
- NUL-terminated UTF-8 string.
- szPict (const char*)
- NUL-terminated UTF-8 string.
Return Value
The handle of the newly created linetype, or 0 on failure.