|
virtual |
Calculates the number of pages to print.
This function is called by the framework inside the CBCGPGridCtrl::OnCalcPrintPages. The default implementation counts grid items to fit per page and return the count of pages.
pDC | A pointer to a printer's device context. |
pInfo | Points to a CPrintInfo structure that describes the current print job. |