Answers for "how to see image from website in wpf"

0

how to see image from website in wpf

var image = new Image();
var fullFilePath = @"http://www.americanlayout.com/wp/wp-content/uploads/2012/08/C-To-Go-300x300.png";

BitmapImage bitmap = new BitmapImage();
bitmap.BeginInit();
bitmap.UriSource = new Uri(fullFilePath, UriKind.Absolute);
bitmap.EndInit();

image.Source = bitmap;
wrapPanel1.Children.Add(image);
Posted by: Guest on August-16-2021

Code answers related to "how to see image from website in wpf"

Browse Popular Code Answers by Language