Answers for "c# set image source in code"

C#
2

change image source wpf

ImageViewer1.Source = new BitmapImage(new Uri(@"\myserver\folder1\Customer Data\sample.png"));
Posted by: Guest on May-26-2020
0

how to set image Source in the code C#

myImage.Source = new BitmapImage(new Uri(@"/Images/foo.png", UriKind.Relative));
Posted by: Guest on July-18-2021

Code answers related to "c# set image source in code"

C# Answers by Framework

Browse Popular Code Answers by Language