Class AutoText

AutoText

An element of text that is dynamically replaced with content that can change over time, such as a slide number.

Methods

MethodReturn typeBrief description
getAutoTextType()AutoTextTypeReturns the type of auto text.
getIndex()IntegerReturns the index of the auto text.
getRange()TextRangeReturns 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

AutoTextType

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

TextRange

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

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.