Share via


CHwndRenderTarget::Resize

Changes the size of the render target to the specified pixel size

BOOL Resize(
   const CD2DSizeU& size
);

Parameters

  • size
    The new size of the render target in device pixels

Return Value

If the method succeeds, it returns TRUE. Otherwise, it returns FALSE.

Requirements

Header: afxrendertarget.h

See Also

Reference

CHwndRenderTarget Class