Quote:
How can I delete the text that was written into the picturebox?
Short answer: as told by previous solutions, you can't delete last change.
Because any change is cumulative, and can overlap things already in picture, it is impossible to know what was overwritten by change.
The only way is to memorize the original picture and every change done in a way that will allow you to rebuild the picture up to previous state.