تنظيم صفحاتك في مجموعات يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
محاذاةالمحتوى
تمثّل هذه السمة عمليات محاذاة المحتوى لعنصر Shape أو TableCell. تتوافق عمليات المحاذاة المتوافقة مع أنواع تثبيت النص المحدّدة مسبقًا من معيار ECMA-376.
لاستدعاء تعداد، عليك استدعاء الفئة الرئيسية والاسم والخاصية. مثلاً: SlidesApp.ContentAlignment.TOP
الخصائص
الموقع
النوع
الوصف
UNSUPPORTED
Enum
محاذاة المحتوى غير متاحة.
TOP
Enum
تتم محاذاة المحتوى مع أعلى حاوية المحتوى. يتوافق مع ECMA-376 ST_TextAnchoringType "t".
MIDDLE
Enum
تتم محاذاة المحتوى إلى منتصف حاوية المحتوى. يتوافق مع ECMA-376 ST_TextAnchoringType "ctr".
BOTTOM
Enum
يتم محاذاة المحتوى مع أسفل حاوية المحتوى. يتوافق مع ECMA-376 ST_TextAnchoringType "b".
تاريخ التعديل الأخير: 2025-08-04 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 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'. |"]]