Thursday, April 10, 2014

C# WPF Load Image from file

How to load image WPF:
 
image1.Source = new BitmapImage(new Uri(@"C:\IMAGE.JPG"));
Additional Reading at :
  1. MSDN BitmapImage
  2. MSDN Uri

No comments:

Post a Comment