Showing posts with label Bitmap. Show all posts
Showing posts with label Bitmap. Show all posts

Thursday, April 10, 2014

C# Load Image to PictureBox

How to load image to picturebox:
Method 1 :
 
PictureBox1.Image = Image.FromFile(@"C:\IMAGE.JPG");
Method 2 :
 
PictureBox1.Image = New Bitmap(@"C:\IMAGE.JPG");
Additional Reading at :
  1. MSDN Bitmap
  2. MSDN Image