[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-04。"],[[["\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'. |"]]