BitmapImage bitmapImage = (BitmapImage)img.Source;
string a = bitmapImage.UriSource.LocalPath;
C# wpf之获取image.source的图片路径
最新推荐文章于 2024-07-11 15:01:30 发布
BitmapImage bitmapImage = (BitmapImage)img.Source;
string a = bitmapImage.UriSource.LocalPath;