C#实现在Word文档指定标签位置插入图片
object bkmC = "C";
if (wApp.ActiveDocument.Bookmarks.Exists("C") == true)
{
wApp.ActiveDocument.Bookmarks.get_Item(ref bkmC).Select();
}
object Anchor = wApp.Selection.Range;
object LinkToFile = false;
object SaveWithDocument = true;
wApp.ActiveDocument.InlineShapes.AddPicture("I:\\nz_32.gif", ref LinkToFile, ref SaveWithDocument, ref Anchor);
2008年11月27日星期四
订阅:
博文评论 (Atom)
0 评论:
发表评论