I have a System.Drawing.Graphics took from a picturebox.
basically I draw some lines over a background image stored into the picturebox
now I wish save a png that contains the background image and everything is drawn over there…
is there a way to do this?
thanks in advance
If you are drawing these lines on the Paint event then you need to create a BitMap with the BackgroundImage and call your paint function with the Bitmap’s Graphics, and then call Bitmap.Save().