ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 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 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.
    See Also