共用方式為


PixelBitmapContent.GetPixelData Method

Note

This method is available only when developing for Windows.

Gets the bitmap content as an array of encoded bytes.

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

Syntax

public override byte[] GetPixelData ()

Return Value

Contents of the bitmap.

See Also

Reference

PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP