public BitmapPlus(HBITMAP hbm, IntPtr hpal) { Initialize(); GpBitmap bitmap = new GpBitmap(); lastResult = GdiPlus.GdipCreateBitmapFromHBITMAP(hbm, hpal, out bitmap); SetNativeImage((GpImage)(IntPtr)bitmap); }
public BitmapPlus FromHBITMAP(HBITMAP hbm, IntPtr hpal) { return new BitmapPlus(hbm, hpal); }
internal static extern GpStatus GdipCreateHBITMAPFromBitmap(GpBitmap bitmap, out HBITMAP hbmReturn, int background);
GdipCreateHBITMAPFromBitmap(GpBitmap bitmap, out HBITMAP hbmReturn, int background);
public BitmapPlus FromHBITMAP(HBITMAP hbm, IntPtr hpal) { return(new BitmapPlus(hbm, hpal)); }