Bitmap masking the .NET way

G

Guest

Hello there,
Does anyone know how to to Bitmap masking in .NET,
In c++ i used,
CreateCompatibleDC
GetBitmap

Then on the bitmap and the bitmap mask i called.
{SelectBitmap
StretchBlt}

No I gather i can do this
Bitmap offScreenBmp;
Graphics offScreenDC;
offScreenBmp = new Bitmap(this.Width, this.Height);
offScreenDC = Graphics.FromImage(offScreenBmp);

but how do i load the second bitmap mask somehow to make a transparent bitmap?

thanks in advance
Brian Keating
 
G

Guest

Hello again,
think i've this one sussed.
Bitmap class has a MakeTransparent method this is what i want I should think
thanks for having a look however

regds
Brian Keating
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top