MvcScrollView_T::OnPrepareDC

void MvcScrollView_T::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo)

Prepares the device context for drawing.

Defined in: MvcScrollView.h

Return Value

void

Parameters

pDC

Points to the device context to be used for rendering an image.

pInfo

Points to a CPrintInfo structure that describes the current print job if OnPrepareDC is being called for printing or print preview; the m_nCurPage member specifies the page about to be printed. This parameter is NULL if OnPrepareDC is being called for screen display.