CPictureHolder::Render

Renders the picture in the rectangle referenced by rcRender.

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

Parameters

  • 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.

Requirements

Header: afxwin.h

See Also

Concepts

CPictureHolder Class

CPictureHolder Members

Hierarchy Chart