Share via


CBitmapRenderTarget::GetBitmap

Retrieves the bitmap for this render target. The returned bitmap can be used for drawing operations.

BOOL GetBitmap(
   CD2DBitmap& bitmap
);

Parameters

  • bitmap
    When this method returns, contains the valid bitmap for this render target. This bitmap can be used for drawing operations.

Return Value

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

Requirements

Header: afxrendertarget.h

See Also

Reference

CBitmapRenderTarget Class