CanvasBitmapCopyPixelsFromBitmap Method (CanvasBitmap, Int32, Int32) |
Namespace: Microsoft.Graphics.Canvas
public void CopyPixelsFromBitmap( CanvasBitmap otherBitmap, int destX, int destY )
The bitmap specified must be able to fit, and the pixel formats must match. The destination point is specified in pixels (not DIPs).
It's an error to copy a bitmap onto itself.
This method is most efficient when both bitmaps were created from the same CanvasDevice, but is also able to copy between bitmaps of different devices.