BitmapImage myBitmapImage = new BitmapImage(); myBitmapImage.BeginInit(); imagepath = applicationPath + "\\targetImage.jpg"; myBitmapImage.UriSource = new Uri(imagepath); //myBitmapImage.DecodePixelWidth = 200; myBitmapImage.EndInit(); //set image source ibTargetImage.Source = myBitmapImage;
System.IO.Path.Combine
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)