ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / ImagingFactory Class / CreateBitmapFromMemory Method

In This Topic
    CreateBitmapFromMemory Method
    In This Topic
    HRESULT IWICImagingFactory::CreateBitmapFromMemory([In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] const GUID& pixelFormat,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer,[Out, Fast] IWICBitmap** ppIBitmap)
    Syntax
    'Declaration
     
    Public Function CreateBitmapFromMemory( _
       ByVal width As System.Integer, _
       ByVal height As System.Integer, _
       ByVal pixelFormatRef As System.Guid, _
       ByVal stride As System.Integer, _
       ByVal bufferSize As System.Integer, _
       ByVal bufferRef As System.IntPtr _
    ) As Bitmap
    public Bitmap CreateBitmapFromMemory( 
       System.int width,
       System.int height,
       System.Guid pixelFormatRef,
       System.int stride,
       System.int bufferSize,
       System.IntPtr bufferRef
    )

    Parameters

    width
    height
    pixelFormatRef
    stride
    bufferSize
    bufferRef
    See Also