有人知道如何从 Google Doc 创建 PDF 并将其存储到 Google Drive 中的脚本吗?这是我的功能
var Folder = DocsList.getFolder(FOLDER);
var doc = DocsList.getFileById(DOC_ID);
var docName = doc.getName();
var pdf = doc.getAs('application/pdf').getBytes();
//This suppose to be the accion, but such function cant be found
pdf.addToFolder(Folder);