BitmapContent.Copy Method (BitmapContent, BitmapContent)

Copies one bitmap into another.

The destination bitmap must be the same size or larger than the source but can be in any format.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public static void Copy (
         BitmapContent sourceBitmap,
         BitmapContent destinationBitmap
)

Parameters

See Also

Reference

BitmapContent Class
BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista