How to save a picture with graphic from a pictureBox

  • Thread starter Thread starter Michael Lehar
  • Start date Start date
M

Michael Lehar

Hallo

I have a pictureBox with a picture loaded from file, then I draw some
lines on the picture, and then I want to save the new picture.

Befor I can draw lines I have to create a Graphics object, with g =
pictureBox.CreateGraphic, and draw lines g.drawLines(....)

But when saving the picture, the new picture have no lines, it is only
a copy.
To save picture i use: pictureBox.save(.....)

what's wrong.

Lehar
 
Back
Top