Partager via


CDCRenderTarget::Create

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