Adagio
Well-known member
- Joined
- Dec 12, 2005
- Messages
- 162
- Programming Experience
- Beginner
How do you erase text written with the drawstring on a graphics object?
The only way I could think would be to simply take the background image and overdraw the area of the text with the drawimage (I have the height, width and position of the text, and the background image), but unfortunatly the drawimage only draws in the background, so that text/lines/etc wont be erased, but the background will be changed (if I use a different picture than the current background)
How can you get it to draw it infront of the text I have written on the same graphics object?
The only way I could think would be to simply take the background image and overdraw the area of the text with the drawimage (I have the height, width and position of the text, and the background image), but unfortunatly the drawimage only draws in the background, so that text/lines/etc wont be erased, but the background will be changed (if I use a different picture than the current background)
How can you get it to draw it infront of the text I have written on the same graphics object?