CadAddLayout
Create (or fetch) a named paper-space layout; returns its 0-based index.
std::int32_t CadAddLayout (
YuHandle hDwg,
const char* szName
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - szName (const char*)
- NUL-terminated UTF-8 string.
Return Value
The handle of the newly created layout, or 0 on failure.