yucad3d

CadPrintToPdf

Prints the drawing to a PDF file using the current print setup.

std::int32_t CadPrintToPdf ( YuHandle hDwg, const char* szFileName );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
szFileName (const char*)
NUL-terminated UTF-8 string.

Return Value

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

See Also