leazfe Posted April 29, 2004 Posted April 29, 2004 I have a couple of transparent image(.png), but when i use it (by a pictureImage control)in VB they lose this property. Does anyone know why? I have read, it was possible in VB 6 by using imageBox control but there isn´t this control in the .Net Version. Thanks, Alvaro Quote
LDV Posted May 2, 2004 Posted May 2, 2004 Hi, 1. I'm not sure - but make sure you use the same PixelFormat of the Screen and the Bitmap. 2. The Bitmap have a function called: .MakeTransperent(Color) - it will make any color you want to be Transperent regardless the .PNG transperent color. 3. I'm drawing .PNG with transperent color with no problem. 4. Check the Transprency / ColorKey in teh properties. LDV Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.