COpenGL::OnPrint

void OnPrint( void );

Remarks

Do all rendering (the same way as in MFC’s OnDraw method) before calling the OnPrint method. It is enough to do rendering only for first time and then call OnPrint multiple times if required. The OnPrint method copies the rendered scene into the printing device.

This method is available since ClassGL version 3.5

Example

See the example in OnBeginPrinting.

See Also

OnBeginPrinting, OnEndPrinting, SetMaxPrintResolution, GetMaxPrintResolution