yucad3d

CadPrintSetup

Windows "Printer / Page Setup" dialog (Qt's QPageSetupDialog).

std::int32_t CadPrintSetup ( void* hwOwner );

Parameters

hwOwner (void*)
Caller-supplied output pointer.

Return Value

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

Remarks

Seeds from the document's PrintSetup and writes the chosen paper size + orientation back into it. Returns 1 if the user accepted, 0 on cancel.

See Also