Is there a known way to update the page setup size In the Google Slides API?

旧城冷巷雨未停 提交于 2019-12-24 03:26:01

问题


I've been poking around in the Google Slides API documentation. I can only find a way to update the element sizes. What I want to do is update the page setup size to widescreen 16:10.

I looked at this documentation and this but this just references page elements, not the slide its self. Is there any preferred or suggested way to go about doing this?


回答1:


Those are links to the Google Apps Script Slides Service documentation (known as a built-in service). It gives you access to some features of the Google Slides API but not all. What you need is the advanced slides service, which is a direct analog of the Google Slides API. To use them effectively read the Advanced Google Services guide for more information.

You can set the page size of a presentation when its created using the Advanced Service (see reference documentation). However your presentation may be letter-boxed (top and bottom padded with black boxes) if your presentations have a high width-to-height ratio.



来源:https://stackoverflow.com/questions/54008555/is-there-a-known-way-to-update-the-page-setup-size-in-the-google-slides-api

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