Esempio n. 1
0
        public IntPtr GetHbitmap(Color background)
        {
            IntPtr HandleBmp;

            Status status = GDIPlus.GdipCreateHBITMAPFromBitmap(nativeObject, out HandleBmp, background.ToArgb());

            GDIPlus.CheckStatus(status);

            return(HandleBmp);
        }