'Declaration Public Overloads Shared Function Create( _ ByVal factory As ImagingFactory, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal pixelFormat As Guid, _ ByVal dataRectangle As DataRectangle, _ Optional ByVal totalSizeInBytes As Integer _ ) As Bitmap
public static Bitmap Create( ImagingFactory factory, int width, int height, Guid pixelFormat, DataRectangle dataRectangle, int totalSizeInBytes )
Parameters
- factory
- The factory.
- width
- The width.
- height
- The height.
- pixelFormat
- The pixel format.
- dataRectangle
- The data rectangle.
- totalSizeInBytes
- Size of the buffer in dataRectangle. If == 0, calculate the size automatically based on the height and row pitch.