blah blah blah is here! blah blah » Close
How do I load an image from a file, into an instance of the System.Drawing.Image class?
Typically, you'd do something like this to load the image and then (say) display it in a picturebox:
Image img = Image.FromFile(filePath);pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;pictureBox1.Image = img;
answered 2 years ago by:
Got feedack? Found a bug? report it here.
1 answers
Typically, you'd do something like this to load the image and then (say) display it in a picturebox:
answered 2 years ago by:
17279