if i added an image with magenta in the background , would the image become transparent?
Sort of like a greenscreen effect.
Printable View
if i added an image with magenta in the background , would the image become transparent?
Sort of like a greenscreen effect.
Only if you set the Transparency Color Key to Magenta for that control.
but images dont have transparency keys.
Do they?
Forms and some controls do but I dont see a Image control or are you meaning the actual image? What IDE version are you running?
i mean an actual image
No, there is no transparency property unless you use an image editing software to create a transparent gif or png file from it.
If you had the image in some other control which supports Transparency Keys then you could. Perhaps placing it in an ImageList and setting the TK to Magenta will be ok for you.
how do i display the image?
How are you needing to use it in your app? Just on a Form, Picturebox or ListView etc.?
pic box