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. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-12-03 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-12-03 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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."]]],[]]