How to insert an image into Word from a URL
<p>I am currently working on an <code>Office.js</code> add in for Word and I am trying to insert an image from a given Url.  I was reviewing the <code>Office.js</code> documentation which is located at :</p>
<p><a href="https://docs.microsoft.com/en-us/javascript/api/word/word.inlinepicture?view=word-js-preview" rel="nofollow noreferrer">InlinePicture class (JavaScript API for Word)</a></p>
<p>I see that they may have a built in functionality of getting the base64 representation from a img url by <code>&quot;getBase64ImageSrc()&quot;</code>.  The documentation on the dev office website is either misleading or incorrect.</p>
<p>Looking to see if anyone has built a word-addin that inserts an image from a url using <code>&quot;getBase64ImageSrc()&quot;</code>? Or am I looking in the wrong direction.</p>