|
-
April 1st, 2009, 05:47 AM
#1
Picturebox image transparency
Hi
Controls used : picturebox control,placed a bmp image on it thru image property of picturebox.Made picturebox back color to transparent.(I have taken an arrow image downloaded from net,it has white background)
When we place image on the picturebox control and run the application white background is visible. I doent need the white background it should be transparent.
did with this code also
Bitmap Logo = new Bitmap(this.pboxMain.Image);
Logo.MakeTransparent(Logo.GetPixel(1, 1));
this.pboxMain.Image = (Image)Logo;
pboxMain.Refresh();
but still not working....
help me...
advance thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|