Initializes a new instance of the
Bitmap class from an array of pixel datas.
Syntax
'Declaration
Public Shared Function New(Of As {New, Struct})( _
ByVal As ImagingFactory, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Guid, _
ByVal () As , _
Optional ByVal As System.Integer _
) As Bitmap
public static Bitmap New<>(
ImagingFactory ,
System.int ,
System.int ,
System.Guid ,
[] ,
System.int
)
where T: new(), struct
Parameters
- factory
- The factory.
- width
- The width.
- height
- The height.
- pixelFormat
- The pixel format.
- pixelDatas
- The pixel datas.
- stride
- Stride of a row of pixels (number of bytes per row). By default the stride is == 0, and calculated by taking the sizeof(T) * width.
Type Parameters
- T
See Also