Christopher Secules
10/26/2004 7:04:00 PM
I have a Picturebox that continuously gets updated with either different
patterns and/or strings of text written on it. I have the text updating in
the PictureBox's Paint event. Then I use e.Graphics.DrawString(...) to draw
the string on the screen.
I noticed, however, that after the paint event is handled, the newly drawn
string is not saved as part of the bitmap. Is there any way to save the
entire contents of the picturebox (bitmap + graphics stuff), so that the
string will be included as part of the bitmap?
I've looked at graphics.save, but that only saves the state of the graphics
object, not the bitmap. I've looked at bitmap and picturebox methods to no
avail. Any help would be greatly appreciated!
Thanks,
Chris