Class PageElementRange
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
محدوده عنصر صفحه مجموعه ای از یک یا چند نمونه Page Element
.
مستندات دقیق
get Page Elements()
فهرست نمونه های Page Element
را برمی گرداند.
بازگشت
Page Element[]
مجوز
اسکریپت هایی که از این روش استفاده می کنند نیاز به مجوز با یک یا چند مورد از حوزه های زیر دارند:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003ePageElementRange\u003c/code\u003e is a collection of one or more \u003ccode\u003ePageElement\u003c/code\u003e instances within Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method, \u003ccode\u003egetPageElements()\u003c/code\u003e, to retrieve a list of all individual \u003ccode\u003ePageElement\u003c/code\u003e instances it contains.\u003c/p\u003e\n"],["\u003cp\u003eUsing this class requires authorization with specific Google Slides scopes for script execution.\u003c/p\u003e\n"]]],[],null,["# Class PageElementRange\n\nPageElementRange\n\nA collection of one or more [PageElement](/apps-script/reference/slides/page-element) instances. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-----------------------------------------|-------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| [getPageElements()](#getPageElements()) | [PageElement[]](/apps-script/reference/slides/page-element) | Returns the list of [PageElement](/apps-script/reference/slides/page-element) instances. |\n\nDetailed documentation\n----------------------\n\n### `get``Page``Elements()`\n\nReturns the list of [PageElement](/apps-script/reference/slides/page-element) instances.\n\n#### Return\n\n\n[PageElement[]](/apps-script/reference/slides/page-element)\n\n#### Authorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`"]]