How to I add anchor comments to a Google Doc file programatically

独自空忆成欢 提交于 2021-01-29 07:48:57

问题


I have to add anchor comments to a google doc file using Google App Scripts, but I'm not able to do so. I tried using anchor while using the Document.Comment.Insert method but it does not work. Can anyone please help me by letting me know how to use the anchor functionality or is there any other ways to add anchor comments with help of a program?


回答1:


You can create a comment using the Google Drive API v3 instead. I haven't quite figured out the structure of an Anchor for say a Google Sheet yet and am working on it myself.



来源:https://stackoverflow.com/questions/54044478/how-to-i-add-anchor-comments-to-a-google-doc-file-programatically

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