2
C# .NET,操作WORD在指定字符串位置插入图片。
我是用这句代码插入的图片:
//插入图片
object Anchor = myWord.Application.Selection.Range;
bp.Save(bmpPath);
myDoc.InlineShapes.AddPicture(bmpPath, ref Nothing, ref Nothing, ref Anchor);
Anchor是当前行,我就是想把Anchor变成指定字符串的位置。
或者大神有其他方法也希望能够告诉我。
Eviliy
2015/06/28 08:33- c#
- net
- word
- 点赞
- 收藏
- 回答