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
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |