ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.WIC Namespace / ImagingFactory Class / CreateBitmapFromHBITMAP Method

In This Topic
    CreateBitmapFromHBITMAP Method
    In This Topic
    HRESULT IWICImagingFactory::CreateBitmapFromHBITMAP([In] HBITMAP hBitmap,[In, Optional] HPALETTE hPalette,[In] WICBitmapAlphaChannelOption options,[Out, Fast] IWICBitmap** ppIBitmap)
    Syntax
    'Declaration
     
    Public Function CreateBitmapFromHBITMAP( _
       ByVal hBitmap As IntPtr, _
       ByVal hPalette As IntPtr, _
       ByVal options As BitmapAlphaChannelOption _
    ) As Bitmap
    public Bitmap CreateBitmapFromHBITMAP( 
       IntPtr hBitmap,
       IntPtr hPalette,
       BitmapAlphaChannelOption options
    )

    Parameters

    hBitmap
    hPalette
    options
    See Also