Undo/Redo Drawn lines on image

Hi All,
I have loaded image on picturebox and drawn lines on it here i have to undo/redo drwan lines.
Is there any samples or references for the same.
Thanks,
Shailesh
[198 byte] By [ShaileshShinde] at [2007-11-19 14:08:41]
# 1 Re: Undo/Redo Drawn lines on image
One option you have is to store the updated Image in a collection. Every time you draw on the image, you will store a copy of the previous image inside an ArrayList (or a Stack). This way you can undo/redo the drawings. Of course this is expensive in memory.
jhammer at 2007-11-10 3:16:05 >