Class BitmapData
Specifies the attributes of a bitmap used for lock bits operations.
Inherited Members
Namespace: DRIT.Drawing.Imaging
Assembly: DRIT.Drawing.dll
Syntax
public sealed class BitmapData
Constructors
BitmapData()
Initializes a empty BitmapData instance.
Declaration
public BitmapData()
Properties
Height
Gets or sets the height of the locked portion of the bitmap in pixels.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PixelFormat
Gets or sets the pixel format of the locked portion of the bitmap.
Declaration
public PixelFormat PixelFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| PixelFormat |
Reserved
Gets or sets the reserved value (reserved for future use).
Declaration
public int Reserved { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Scan0
Gets or sets a pointer to the beginning of the scan line data.
Declaration
public IntPtr Scan0 { get; set; }
Property Value
| Type | Description |
|---|---|
| IntPtr |
Stride
Gets or sets the stride (bytes per scan line) of the locked portion of the bitmap.
Declaration
public int Stride { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Width
Gets or sets the width of the locked portion of the bitmap in pixels.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |