62,041
社区成员
发帖
与我相关
我的任务
分享
//插入本地项目图片
BitmapImage image = new BitmapImage();
image.UriSource = new Uri("/Image/head.jpg", UriKind.Relative);
Image myImage = new Image();
myImage.Source = image;
myImage.Stretch = Stretch.None;
InlineUIContainer container = new InlineUIContainer();
container.Child = myImage;
this.rtb_MyBox.Selection.Insert(container);