InsertInlineWebImage

InsertInlineWebImage 将来自URL的图片插入到当前Word光标位置的文本行中。

语法:

pageofficectrl.word.InsertInlineWebImage( ImageURL  );
参数 描述
ImageURL 字符串类型,字符串类型,图片的Url路径。。

[!note]

插入的图片相当于在文档中当前位置处插入了一个字符,当前文字会被插入的图片左右挤开。

ImageURL:

如果以"/"开头,为Web应用程序的根目录的路径。

如果不以"/"开头,为相对于当前页面的路径。

results matching ""

    No results matching ""