Answers for "Image Source - working"

0

Image Source - working

C#
myImg.Source = new BitmapImage(new Uri(@"component/Images/down.png", UriKind.RelativeOrAbsolute)); 

Python
self.teclogomain.Source = Imaging.BitmapImage(System.Uri("C:\Users\sreddy\AppData\Roaming\pyRevit-Master\extensions\TEC.extension\TEC kit.tab\panel2.panel\uitest.pushbutton\icon.png",System.UriKind.RelativeOrAbsolute))
Posted by: Guest on September-24-2021

Browse Popular Code Answers by Language