Class AutoText
自動テキストスライド番号など、時間の経過とともに変化するコンテンツに動的に置き換えられるテキスト要素。
詳細なドキュメント
getAutoTextType()
自動テキストのタイプを返します。自動テキストが削除されている場合は null
を返します。
戻る
AutoTextType
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getIndex()
自動テキストのインデックスを返します。自動テキストが削除されている場合は null
を返します。
戻る
Integer
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getRange()
自動テキストにまたがる TextRange
を返します。自動テキストが削除されている場合は null
を返します。
戻る
TextRange
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-03 UTC。
[null,null,["最終更新日 2024-12-03 UTC。"],[[["AutoText is a dynamic element that gets replaced with content that can change, like a slide number."],["You can use methods like `getAutoTextType()`, `getIndex()`, and `getRange()` to interact with AutoText elements."],["These methods allow you to determine the type of AutoText, its position, and get the text range it spans within the slide."],["To utilize these methods, your script needs authorization with specific scopes related to Google Slides access."]]],[]]