Export (0) Print
Expand All

Texture2D.SaveAsPng Method

XNA Game Studio 4.0
Saves texture data as a .png.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public void SaveAsPng (
         Stream stream,
         int width,
         int height
)

Parameters

stream
Data stream number.
width
Image width.
height
Image height.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show:
© 2014 Microsoft