[]
        
(Showing Draft Content)

C1.Util.DX.WIC.ImagingFactory.CreateBitmapFromHBITMAP

CreateBitmapFromHBITMAP Method

CreateBitmapFromHBITMAP(IntPtr, IntPtr, BitmapAlphaChannelOption)

HRESULT IWICImagingFactory::CreateBitmapFromHBITMAP([In] HBITMAP hBitmap,[In, Optional] HPALETTE hPalette,[In] WICBitmapAlphaChannelOption options,[Out, Fast] IWICBitmap** ppIBitmap)

Declaration
public Bitmap CreateBitmapFromHBITMAP(IntPtr hBitmap, IntPtr hPalette, BitmapAlphaChannelOption options)
Parameters
Type Name Description
IntPtr hBitmap
IntPtr hPalette
BitmapAlphaChannelOption options
Returns
Type Description
Bitmap