BitmapContent.GetPixelData Method

Note

This method is available only when developing for Windows.

Reads encoded bitmap content.

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

Syntax

public abstract byte[] GetPixelData ()

Return Value

Array containing encoded bitmap data.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP