Sunday, 13 July 2014

How to save picture box image?


To save image of a picture box use the following syntax:

pictureBox1.Image.Save("path");

For example:

pictureBox1.Image.Save(@"d:\pic.jpg");

here name of picture box is  pictureBox1 and image will be saved in d:\ drive and "pic.jpg" will be the name of your image

No comments:

Post a Comment