Organiza tus páginas con colecciones Guarda y categoriza el contenido según tus preferencias.
Alineacióndelcontenido
Son las alineaciones de contenido para un Shape o un TableCell. Las alineaciones admitidas corresponden a tipos de anclaje de texto predefinidos del estándar ECMA-376.
Para llamar a una enumeración, debes llamar a su clase principal, nombre y propiedad. Por ejemplo, SlidesApp.ContentAlignment.TOP.
Propiedades
Propiedad
Tipo
Descripción
UNSUPPORTED
Enum
Es una alineación de contenido que no se admite.
TOP
Enum
Alinea el contenido a la parte superior del contenedor de contenido. Corresponde a ST_TextAnchoringType "t" de ECMA-376.
MIDDLE
Enum
Alinea el contenido al centro del contenedor de contenido. Corresponde a ECMA-376 ST_TextAnchoringType "ctr".
BOTTOM
Enum
Alinea el contenido a la parte inferior del contenedor de contenido. Corresponde a ST_TextAnchoringType "b" de ECMA-376.
[[["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-08-04 (UTC)"],[[["\u003cp\u003eContentAlignment refers to how content is positioned within a Shape or TableCell, like top, middle, or bottom.\u003c/p\u003e\n"],["\u003cp\u003eThese alignments are based on standard text anchoring types defined in ECMA-376.\u003c/p\u003e\n"],["\u003cp\u003eYou can use \u003ccode\u003eSlidesApp.ContentAlignment\u003c/code\u003e followed by the specific alignment (e.g., \u003ccode\u003eTOP\u003c/code\u003e, \u003ccode\u003eMIDDLE\u003c/code\u003e) to set the desired positioning in your code.\u003c/p\u003e\n"]]],[],null,["ContentAlignment\n\nThe content alignments for a [Shape](/apps-script/reference/slides/shape) or [TableCell](/apps-script/reference/slides/table-cell). The supported alignments\ncorrespond to predefined text anchoring types from the ECMA-376 standard.\n\n\n| More information on those alignments can be found in the description of the `ST_TextAnchoringType` simple type in section 20.1.10.59 of \"Office Open XML File Formats - Fundamentals and Markup Language Reference\", part 1 of [ECMA-376](https://ecma-international.org/publications-and-standards/standards/ecma-376/) 5th edition.\n\n\u003cbr /\u003e\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.ContentAlignment.TOP`. \n\nProperties\n\n| Property | Type | Description |\n|---------------|--------|-------------------------------------------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A content alignment that is not supported. |\n| `TOP` | `Enum` | Aligns the content to the top of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 't'. |\n| `MIDDLE` | `Enum` | Aligns the content to the middle of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'ctr'. |\n| `BOTTOM` | `Enum` | Aligns the content to the bottom of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'b'. |"]]