DrawString in XOR mode

R

ralph

Hi,

I'm writing an application that uses a PictureBox. When the mouse
cursor is above the PictureBox the OnPaint-Method uses DrawString to
write some information into the PictureBox.

Since I do not know what the image will look like I do not know which
color to choose for the text. I think it would be best if the text was
drawn in XOR mode but I cannot find out how to do that.

Any ideas?

Thanks,
ralph
 

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