读书人

用InlineShapes.AddOLEControl增添图片

发布时间: 2012-06-21 13:42:41 作者: rapoo

用InlineShapes.AddOLEControl添加图片
object anchor = thisApplication.Selection.Range;
object classtype = "Forms.Image.1";
Word.InlineShape MyInlineShape = thisDocument.InlineShapes.AddOLEControl(ref classtype, ref anchor);
用这种方式添加图片,而不是用thisDocument.InlineShapes.AddPicture(ImageName, ref linkToFile, ref saveWithDocument, ref anchor); 这种方式
用C#怎么绑定一个image(drawing下的) 怎么写?

[解决办法]
不知道怎么做

读书人网 >C#

热点推荐