Google sheets 修改谷歌图纸尺寸
这是我第一次在GoogleSheet中使用脚本。我在网上看到了一些代码,我只是想知道如何修改下面代码的纸张大小。我国的法定尺寸为8.5 x 13Google sheets 修改谷歌图纸尺寸,google-sheets,Google Sheets,这是我第一次在GoogleSheet中使用脚本。我在网上看到了一些代码,我只是想知道如何修改下面代码的纸张大小。我国的法定尺寸为8.5 x 13 var exportUrl = url.replace(/\/edit.*$/, '') + '/export?exportFormat=pdf&format=pdf' + '&size=LEGAL' + '&portrait=true' + '&fitw=true'
var exportUrl = url.replace(/\/edit.*$/, '')
+ '/export?exportFormat=pdf&format=pdf'
+ '&size=LEGAL'
+ '&portrait=true'
+ '&fitw=true'
+ '&top_margin=0.5'
+ '&bottom_margin=0.5'
+ '&left_margin=0.5'
+ '&right_margin=0.5'
+ '&sheetnames=false&printtitle=false'
+ '&pagenum=false'
+ '&gridlines=true'
+ '&fzr=FALSE'
+ sheetParam
+ rangeParam
提前谢谢你 尺寸为8.5 x 13英寸的称为“对开本”
如果这是要导出的大小,只需将其指定给size
,而不是LEGAL
:
var exportUrl=url.replace(/\/edit.*$/,'')
+“/export?exportFormat=pdf&format=pdf”
+“&size=folio”
+“&trait=true”
...