I'm trying to find a way to get a border around an image in Google Docs using Google Apps Script. This is possible in the GUI of Google Docs but I can't find how to do this using the GAS. I've tried using style attributes but these don't seem to affect the image at all. (https://developers.google.com/apps-script/reference/document/text#setattributesattributes)
Video of what I want to do: https://www.youtube.com/watch?v=FC2wpheln_o
Any help would be welcome!