Muestra un TextRange que abarca el texto del párrafo finalizado por el carácter de línea nueva de este objeto. Muestra null si se borró el salto de línea del párrafo.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eA Paragraph object represents a segment of text terminated by a newline character within Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods like \u003ccode\u003egetIndex()\u003c/code\u003e to retrieve the newline's index and \u003ccode\u003egetRange()\u003c/code\u003e to obtain a TextRange encompassing the paragraph's text.\u003c/p\u003e\n"],["\u003cp\u003eBoth methods require authorization with specific scopes for accessing and manipulating presentations.\u003c/p\u003e\n"]]],[],null,["# Class Paragraph\n\nParagraph\n\nA segment of text terminated by a newline character. \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [getIndex()](#getIndex()) | `Integer` | Returns the index of the paragraph's newline. |\n| [getRange()](#getRange()) | [TextRange](/apps-script/reference/slides/text-range) | Returns a [TextRange](/apps-script/reference/slides/text-range) spanning the text in the paragraph ended by this object's newline character. |\n\nDetailed documentation\n----------------------\n\n### `get``Index()`\n\nReturns the index of the paragraph's newline. Returns `null` if the newline has been\ndeleted.\n\n#### Return\n\n\n`Integer`\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``Range()`\n\nReturns a [TextRange](/apps-script/reference/slides/text-range) spanning the text in the paragraph ended by this object's newline\ncharacter. Returns `null` if the paragraph's newline has been deleted.\n\n#### Return\n\n\n[TextRange](/apps-script/reference/slides/text-range)\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`"]]