How to I add anchor comments to a Google Doc file programatically
问题 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