Click or drag to resize
CanvasBitmapCopyPixelsFromBitmap Method (CanvasBitmap)
Copies the entire bitmap specified into this bitmap, at position (0, 0).

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void CopyPixelsFromBitmap(
	CanvasBitmap otherBitmap
)

Parameters

otherBitmap
Type: Microsoft.Graphics.CanvasCanvasBitmap
Remarks

The bitmap specified must be able to fit, and the pixel formats must match.

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.

See Also