Share via


CDCRenderTarget::Create

Visual Studio 2010 SP1 is required.

Creates a CDCRenderTarget.

BOOL Create(
   const D2D1_RENDER_TARGET_PROPERTIES& props
);

Parameters

  • props
    The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering.

Return Value

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

Requirements

Header: afxrendertarget.h

See Also

Reference

CDCRenderTarget Class