在Google Slides API中,是否有已知的方法来更新页面设置大小? [英] Is there a known way to update the page setup size In the Google Slides API?

查看:200
本文介绍了在Google Slides API中,是否有已知的方法来更新页面设置大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在浏览Google Slides API文档.我只能找到一种更新元素大小的方法.我要做的是将页面设置大小更新为宽屏16:10.

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?

推荐答案

这些都是Google Apps脚本幻灯片服务文档(称为内置服务)的链接.它使您可以访问Google Slides API的某些功能,但不是全部.您需要的是高级幻灯片服务,它直接类似于 Google幻灯片API .要有效使用它们,请阅读高级Google服务指南以获取更多信息.

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.

这篇关于在Google Slides API中,是否有已知的方法来更新页面设置大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆