How to set a border around an image in a Doc using Google Apps Script?

自作多情 提交于 2021-01-29 03:52:49

问题


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!

来源:https://stackoverflow.com/questions/43001185/how-to-set-a-border-around-an-image-in-a-doc-using-google-apps-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!