PixelBitmapContent Constructor (Int32, Int32)

Note

This constructor is available only when developing for Windows.

Initializes a new instance of PixelBitmapContent with the specified width and height.

Syntax

'Declaration
Public Sub New ( _
         width As Integer, _
         height As Integer _
)
public PixelBitmapContent (
         int width,
         int height
)
public:
PixelBitmapContent(
         int width,
         int height
)

Parameters

  • width
    Type: Int32
    Width, in pixels, of the blank pixel bitmap.
  • height
    Type: Int32
    Height, in pixels, of the blank pixel bitmap.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP