yucad3d

CadPrintPreview

On-screen print preview (Qt's QPrintPreviewDialog), painting each requested page through the same vector renderer.

std::int32_t CadPrintPreview ( YuHandle hDwg, void* parentHwnd );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
parentHwnd (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).

Return Value

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

See Also