CadFileSave
Save to the stored filename (set on open / save-as / CadPutFileName).
std::int32_t CadFileSave (
YuHandle hDwg,
void* hWin
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - hWin (void*)
- Host window handle (Win32
HWND, passed as an opaque pointer).
Return Value
Nonzero (TRUE) on success, 0 (FALSE) on failure.
Remarks
With no filename yucad can't pop a dialog (host owns UI) → returns 0.