ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Integer, _
       ByVal height As Integer, _
       ByVal pixelFormatRef As Guid, _
       ByVal stride As Integer, _
       ByVal bufferSize As Integer, _
       ByVal bufferRef As IntPtr _
    ) As Bitmap
    public Bitmap CreateBitmapFromMemory( 
       int width,
       int height,
       Guid pixelFormatRef,
       int stride,
       int bufferSize,
       IntPtr bufferRef
    )

    Parameters

    width
    height
    pixelFormatRef
    stride
    bufferSize
    bufferRef
    See Also