W
Willie jan
Hi,
i try to create a bitmap with transparent regions, but it does not work.
the transparent region turns out to be black.
anybody some ideas??
Dim bmap As Bitmap(100,100,Imaging.PixelFormat.Format32bppPArgb)
Dim g As Graphics = Graphics.FromImage(bmap)
g.Clear(Color.Transparent)
g.DrawRectangle(New Pen(Color.Blue, 10), New Rectangle(10, 10, 80,80))
g.dispose
'do something with the bitmap....
i try to create a bitmap with transparent regions, but it does not work.
the transparent region turns out to be black.
anybody some ideas??
Dim bmap As Bitmap(100,100,Imaging.PixelFormat.Format32bppPArgb)
Dim g As Graphics = Graphics.FromImage(bmap)
g.Clear(Color.Transparent)
g.DrawRectangle(New Pen(Color.Blue, 10), New Rectangle(10, 10, 80,80))
g.dispose
'do something with the bitmap....