NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Bitmap Constructor (Int32, Int32, Int32, PixelFormat, Int32)

Initializes a new instance of the Bitmap class with the specified size, pixel format, and pixel data.

[Visual Basic]
Overloads Public Sub New( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal stride As Integer, _
   ByVal format As PixelFormat, _
   ByVal scan0 As Integer _
)
[C#]
public Bitmap(
   int width,
   int height,
   int stride,
   PixelFormat format,
   int scan0
);
[C++]
public: Bitmap(
   int width,
   int height,
   int stride,
   PixelFormat format,
   int scan0
);
[JScript]
public function Bitmap(
   width : int,
   height : int,
   stride : int,
   format : PixelFormat,
   scan0 : int
);

Parameters

width
The width, in pixels, of the new Bitmap.
height
The height, in pixels, of the new Bitmap.
stride
The memory size of a row in the stream of pixel data.
format
The TBD for the new Bitmap.
scan0
The address of a stream of pixel data.

See Also

Bitmap Class | Bitmap Members | System.Drawing Namespace | Bitmap Constructor Overload List