Modifying a drawing using Google Apps Script

前端 未结 3 1520
醉酒成梦
醉酒成梦 2021-01-02 18:43

Has anyone found support for creating or changing a drawing using Google Apps Script? I\'ve looked through the Google documentation, but I don\'t see any classes for drawing

3条回答
  •  無奈伤痛
    2021-01-02 19:42

    I got an answer on a related question that is good enough to use as a workaround for this question. You may not be able to modify a Google Drawing directly through code, but you can generate a Windows Metafile image and then upload that to a Google Drawing as described on the Google Docs blog.

    Until my feature request is completed, this will have to do.

    Update

    You can now create drawings through the Google Slides API. If you want that in a Google Drawing, Doc, or Sheet, you can copy it there.

提交回复
热议问题