Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...