Class List
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مستندات دقیق
get List Id()
شناسه لیست را برمی گرداند.
بازگشت
String
مجوز
اسکریپت هایی که از این روش استفاده می کنند نیاز به مجوز با یک یا چند مورد از حوزه های زیر دارند:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get List Paragraphs()
تمام Paragraphs
موجود در لیست را برمی گرداند.
بازگشت
Paragraph[]
مجوز
اسکریپت هایی که از این روش استفاده می کنند نیاز به مجوز با یک یا چند مورد از حوزه های زیر دارند:
-
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\u003eThis documentation outlines the properties and methods associated with the 'List' object in Google Slides, allowing developers to interact with lists programmatically.\u003c/p\u003e\n"],["\u003cp\u003eTwo primary methods, \u003ccode\u003egetListId()\u003c/code\u003e and \u003ccode\u003egetListParagraphs()\u003c/code\u003e, enable retrieval of the list's ID and its constituent paragraphs, respectively.\u003c/p\u003e\n"],["\u003cp\u003eBoth methods necessitate authorization with specific scopes related to Google Presentations for security and access control.\u003c/p\u003e\n"]]],[],null,["# Class List\n\nList\n\nA list in the text. \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------------------------|--------------------------------------------------------|------------------------------------------------------------------------------------|\n| [getListId()](#getListId()) | `String` | Returns the ID of the list. |\n| [getListParagraphs()](#getListParagraphs()) | [Paragraph[]](/apps-script/reference/slides/paragraph) | Returns all the [Paragraphs](/apps-script/reference/slides/paragraph) in the list. |\n\nDetailed documentation\n----------------------\n\n### `get``List``Id()`\n\nReturns the ID of the list.\n\n#### Return\n\n\n`String`\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`\n\n*** ** * ** ***\n\n### `get``List``Paragraphs()`\n\nReturns all the [Paragraphs](/apps-script/reference/slides/paragraph) in the list.\n\n#### Return\n\n\n[Paragraph[]](/apps-script/reference/slides/paragraph)\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`"]]