yucad3d

CadFileOpen

Load a DXF into the document (merges into the current contents).

std::int32_t CadFileOpen ( YuHandle hDwg, void* hWin, const char* szFileName );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).
szFileName (const char*)
NUL-terminated UTF-8 string.

Return Value

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

Remarks

Returns non-zero on success, 0 on open/parse failure.

See Also