Enum SpacingMode
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
وضع المسافة
الأوضاع المختلفة لمسافات الفقرات
لاستدعاء قائمة أرقام صحيحة، عليك استدعاء الصف الرئيسي والاسم والخاصية. مثلاً:
SlidesApp.SpacingMode.NEVER_COLLAPSE
أماكن إقامة
الموقع | النوع | الوصف |
UNSUPPORTED | Enum | وضع مسافات غير متوافق |
NEVER_COLLAPSE | Enum | يتم عرض تباعد الفقرات دائمًا. |
COLLAPSE_LISTS | Enum | يتم حذف مسافات الفقرات بين عناصر القائمة. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eSpacingMode\u003c/code\u003e controls the spacing behavior between paragraphs in Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eYou can access specific spacing modes like \u003ccode\u003eNEVER_COLLAPSE\u003c/code\u003e and \u003ccode\u003eCOLLAPSE_LISTS\u003c/code\u003e using \u003ccode\u003eSlidesApp.SpacingMode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNEVER_COLLAPSE\u003c/code\u003e ensures consistent paragraph spacing, while \u003ccode\u003eCOLLAPSE_LISTS\u003c/code\u003e removes spacing between list items.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNSUPPORTED\u003c/code\u003e indicates a spacing mode that is not currently functional.\u003c/p\u003e\n"]]],["`SpacingMode` defines how paragraph spacing is handled. It includes three modes: `UNSUPPORTED`, indicating an unsupported mode; `NEVER_COLLAPSE`, where spacing is always rendered; and `COLLAPSE_LISTS`, where spacing is omitted between list items. To use a specific mode, call it using the syntax: `SlidesApp.SpacingMode.MODE_NAME`, where MODE_NAME is one of the enum properties.\n"],null,["# Enum SpacingMode\n\nSpacingMode\n\nThe different modes for paragraph spacing.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.SpacingMode.NEVER_COLLAPSE`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|-----------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A spacing mode that is not supported. |\n| `NEVER_COLLAPSE` | `Enum` | Paragraph spacing is always rendered. |\n| `COLLAPSE_LISTS` | `Enum` | Paragraph spacing is skipped between list elements. |"]]