Class List
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Elenca
Un elenco nel testo.
Documentazione dettagliata
getListId()
Restituisce l'ID dell'elenco.
Invio
String
Autorizzazione
Gli script che utilizzano questo metodo richiedono l'autorizzazione con uno o più dei seguenti ambiti:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getListParagraphs()
Restituisce tutti i Paragraphs
nell'elenco.
Invio
Paragraph[]
Autorizzazione
Gli script che utilizzano questo metodo richiedono l'autorizzazione con uno o più dei seguenti ambiti:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\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`"]]