Office Add-in development: Insert image/picture in Word 2016
问题 I would like to ask as to what is the best way to insert an image/picture to the document in JavaScript? I am weighing in between an online and offline images but don't know where to start. I've tried searching the API references but with the lack of code samples, I am not able to fully understand the "how". Any help will be greatly appreciated. Cheers! 回答1: We can insert images into document via OOXML, Html. And it is easy that using Html to insert online images. Here is an example for your