Class AutoText

AutoText

スライド番号など、時間の経過とともに変化するコンテンツに動的に置き換えられるテキスト要素。

メソッド

メソッド戻り値の型概要
getAutoTextType()AutoTextType|null自動テキストのタイプを返します。
getIndex()Integer|null自動テキストのインデックスを返します。
getRange()TextRange|null自動テキストにまたがる TextRange を返します。

詳細なドキュメント

getAutoTextType()

自動テキストのタイプを返します。自動テキストが削除されている場合は null を返します。

戻る

AutoTextType|null

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getIndex()

自動テキストのインデックスを返します。自動テキストが削除されている場合は null を返します。

戻る

Integer|null

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getRange()

自動テキストにまたがる TextRange を返します。自動テキストが削除された場合は null を返します。

戻る

TextRange|null

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations