Bitmap Constructor (Int32, Int32, Int32, PixelFormat, IntPtr)
Initializes a new instance of the Bitmap class with the specified size, pixel format, and pixel data.
Assembly: System.Drawing (in System.Drawing.dll)
new : width:int * height:int * stride:int * format:PixelFormat * scan0:nativeint -> Bitmap
Integer that specifies the byte offset between the beginning of one scan line and the next. This is usually (but not necessarily) the number of bytes in the pixel format (for example, 2 for 16 bits per pixel) multiplied by the width of the bitmap. The value passed to this parameter must be a multiple of four..
The pixel format for the new Bitmap. This must specify a value that begins with Format.
Pointer to an array of bytes that contains the pixel data.
The caller is responsible for allocating and freeing the block of memory specified by the scan0 parameter. However, the memory should not be released until the related Bitmap is released.
Available since 1.1