ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / Bitmap Class / Create Method / Create(ImagingFactory,Int32,Int32,Guid,DataRectangle,Int32) Method
The factory.
The width.
The height.
The pixel format.
The data rectangle.
Size of the buffer in dataRectangle. If == 0, calculate the size automatically based on the height and row pitch.

In This Topic
    Create(ImagingFactory,Int32,Int32,Guid,DataRectangle,Int32) Method
    In This Topic
    Initializes a new instance of the Bitmap class from a memory location using C1.Util.DX.DataRectangle.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As ImagingFactory, _
       ByVal width As System.Integer, _
       ByVal height As System.Integer, _
       ByVal pixelFormat As System.Guid, _
       ByVal dataRectangle As DataRectangle, _
       Optional ByVal totalSizeInBytes As System.Integer _
    ) As Bitmap
    public static Bitmap Create( 
       ImagingFactory factory,
       System.int width,
       System.int height,
       System.Guid pixelFormat,
       DataRectangle dataRectangle,
       System.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.
    See Also