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 |
---|---|---|
getAutoTextType() | AutoTextType | Returns the type of auto text. |
getIndex() | Integer | Returns the index of the auto text. |
getRange() | TextRange | Returns a TextRange spanning the auto text. |
Detailed documentation
getAutoTextType()
Returns the type of auto text. Returns null
if the auto text has been deleted.
Return
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
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
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