BitmapContent.SetPixelData Method
Note
This method is available only when developing for Windows.
Writes encoded bitmap content.
Syntax
'Declaration
Public MustOverride Sub SetPixelData ( _
sourceData As Byte() _
)
public abstract void SetPixelData (
byte[] sourceData
)
public:
void SetPixelData(
unsigned char sourceData[]
) abstract
Parameters
- sourceData
Type: Byte
Array containing encoded bitmap data to be set.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
BitmapContent Class
BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP