Export (0) Print
Expand All

CPictureHolder::Render

Renders the picture in the rectangle referenced by rcRender.

void Render( 
   CDC* pDC, 
   const CRect& rcRender, 
   const CRect& rcWBounds  
);

pDC

Pointer to the display context in which the picture is to be rendered.

rcRender

Rectangle in which the picture is to be rendered.

rcWBounds

A rectangle representing the bounding rectangle of the object rendering the picture. For a control, this rectangle is the rcBounds parameter passed to an override of COleControl::OnDraw.

Header: afxwin.h

Show:
© 2014 Microsoft