Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Copies the specified region from the specified bitmap into the current bitmap
HRESULT CopyFromBitmap(
const CD2DBitmap* pBitmap,
const CD2DPointU* destPoint = NULL,
const CD2DRectU* srcRect = NULL
);
Parameters
pBitmap
The bitmap to copy fromdestPoint
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copiedsrcRect
The area of bitmap to copy
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header: afxrendertarget.h