Add a Picture to a Microsoft Word Document
2018-09-22 01:03
阅读:586
Demonstrationscriptthataddsapicture(C:\Scripts\Logo.jog)to
aMicrosoftWorddocument
复制代码 代码如下:
SetobjWord=CreateObject(Word.Application)
objWord.Visible=True
SetobjDoc=objWord.Documents.Add()
SetobjSelection=objWord.Selection
SetobjShape=objDoc.Shapes
objShape.AddPicture(C:\Scripts\Logo.jpg)
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:Add a Picture to a Microsoft Word Document
文章链接:http://soscw.com/essay/17045.html
文章标题:Add a Picture to a Microsoft Word Document
文章链接:http://soscw.com/essay/17045.html
评论
亲,登录后才可以留言!