<< Return to Main Index

< Return to Class Index

CGXPageBreakPlugin::DoBeginPrinting

virtual BOOL DoBeginPrinting(CDC* pDC, CPrintInfo* pInfo);

pDC

A pointer to the device context of the view.

pInfo

A pointer to the printing information structure.

Return Value

TRUE if the attached view should not call OnBeginPrinting method of its base class, otherwise return FALSE.

Remarks

Call this function to prepare the device context. This function should be called before OnBeginPrinting method of the attached view and the depending on the return value of this method to decide whether the attached view should call OnBeginPrinting method of its base class or not.