srhartone
Sun Jul 20 01:22:01 CDT 2008
Try something like the following:
Graphics grfx = Graphics.FromImage(pictureBox1.Image);
grfx.DrawString("Some transparent text", this.Font, new
SolidBrush(Color.Black), 20, 20 );
Where pictureBox1 is your picture box control.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
"Chris" wrote:
> I understand but how to solve that problem: put a label on picturebox. How to
> make the label transparent? I do not want to draw string directly on the
> picturebox.
> I know I have to draw image as background of the label - but the problem is
> how to get that image? If I put the label on other control I would like to
> get image of the control beneath the label and then draw it as label
> background. But again - how to get that image?