DrawString in XOR mode

  • Thread starter Thread starter ralph
  • Start date Start date
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
 
Back
Top