PixelBitmapContent.TryCopyTo Method
Attempts to copy a region to the specified bitmap.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
protected override bool TryCopyTo (
BitmapContent destinationBitmap,
Rectangle sourceRegion,
Rectangle destinationRegion
)
Parameters
- destinationBitmap
Bitmap to be copied to. - sourceRegion
Location of upper-left region to be copied. - destinationRegion
Target region for the copied content.
Return Value
true if region copy is supported; false otherwise.
See Also
Reference
PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista