一种文本元素,会动态替换为随时间变化的内容,例如幻灯片编号。
方法
| 方法 | 返回值类型 | 简介 |
|---|---|---|
get | Auto | 返回自动文本的类型。 |
get | Integer|null | 返回自动文本的索引。 |
get | Text | 返回跨越自动文本的 Text。 |
详细文档
getAutoTextType()
返回自动文本的类型。如果自动文本已被删除,则返回 null。
返回
AutoTextType|null
授权
使用此方法需要获得以下一个或多个范围的授权的脚本:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
getIndex()
返回自动文本的索引。如果自动文本已被删除,则返回 null。
返回
Integer|null
授权
使用此方法需要获得以下一个或多个范围的授权的脚本:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations