|
-
Jul 26th, 2006, 03:06 AM
#1
Thread Starter
New Member
help in picturebox
how can i save a image from picture box after loading an image to it and after draw in picture box ?
when i save the picture the drawing not save why ?
-
Jul 26th, 2006, 03:14 AM
#2
Re: help in picturebox
If you're drawing on the PictureBox then the Image it contains is unaffected. It's like drawing on the glass over a photo in a picture frame. If you want to affect the Image then you have to draw on the Image itself. You use the Graphics.FromImage method to get a Graphics object for the Image object and use it to draw on the Image. Note that drawing on an Image object like that is permanent, so if you want to be able to undo you should do all the drawing on the PictureBox and then only repeat it on the Image itself when you're ready to save.
-
Jul 27th, 2006, 12:02 AM
#3
Thread Starter
New Member
thank
thank you jmcilhinney for this information
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|