Class AutoText
자동텍스트
시간이 지남에 따라 변경될 수 있는 콘텐츠(예: 슬라이드 번호)로 동적으로 대체되는 텍스트 요소입니다.
자세한 문서
getAutoTextType()
자동 텍스트의 유형을 반환합니다. 자동 텍스트가 삭제된 경우 null
를 반환합니다.
리턴
AutoTextType
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getIndex()
자동 텍스트의 색인을 반환합니다. 자동 텍스트가 삭제된 경우 null
를 반환합니다.
리턴
Integer
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getRange()
자동 텍스트에 걸쳐 있는 TextRange
를 반환합니다. 자동 텍스트가 삭제된 경우 null
를 반환합니다.
리턴
TextRange
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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."]]],[]]