Skip to main content

BitmapData

Namespace: System.Drawing.Imaging

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies the attributes of a bitmap image.

public class BitmapData

Constructors​

Instance member BitmapData()​

Initializes a new instance of BitmapData.

Properties​

Instance member Height​

Int32: Gets or sets the pixel height of the Bitmap.

Instance member PixelFormat​

PixelFormat: Gets or sets the format of the pixel information in this Bitmap.

Instance member Reserved​

Int32: Gets or sets the reserved value. Not used.

Instance member Scan0​

IntPtr: Gets or sets specifies the address of the pixel data.

Instance member Stride​

Int32: Gets or sets the stride width of the Bitmap.

Instance member Width​

Int32: Gets or sets the pixel width of the Bitmap.