Page Summary
-
AutoText is a dynamic text element that changes over time, like a slide number.
-
The
getAutoTextType()method returns the type of auto text. -
The
getIndex()method returns the index of the auto text. -
The
getRange()method returns aTextRangespanning the auto text. -
These methods require specific authorization scopes.
An element of text that is dynamically replaced with content that can change over time, such as a slide number.
Methods
| Method | Return type | Brief description |
|---|---|---|
Auto
|
Returns the type of auto text. | |
Integer|null
|
Returns the index of the auto text. | |
Text
|
Returns a Text
spanning the auto text. |
Detailed documentation
getAutoTextType()
Returns the type of auto text. Returns null
if the auto text has been deleted.
Return
AutoTextType
|null
Authorization
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
getIndex()
Returns the index of the auto text. Returns null
if the auto text has been deleted.
Return
Integer|null
Authorization
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
getRange()
Returns a TextRange
spanning the auto text. Returns null
if the auto text has
been deleted.
Return
TextRange
|null
Authorization
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations

