摘要:
1、图片文件转换成Visual对象private Visual CreateVisual(string imageFileName) { BitmapImage bmp = new BitmapImage(new Uri(imageFileName)); Image img = new Image(); img.Width = 100; img.Source = bmp; Border outBordre = new Border(); outBordre.BorderBrush = Brushes.White; outBordre.BorderThickness = new Thicknes 阅读全文