BitmapContent Constructor (Int32, Int32)

Initializes a new instance of BitmapContent with the specified width or height.

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

protected BitmapContent (
         int width,
         int height
)

Parameters

width
Width, in pixels, of the bitmap resource.
height
Height, in pixels, of the bitmap resource.

Windows XP SP2, Windows Vista

Community Additions

ADD
Show: