Enum SpacingMode
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
BoşlukModu
Paragraf aralığı için farklı modlar.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
SlidesApp.SpacingMode.NEVER_COLLAPSE
.
Özellikler
Mülk | Tür | Açıklama |
UNSUPPORTED | Enum | Desteklenmeyen bir boşluk modu. |
NEVER_COLLAPSE | Enum | Paragraf aralığı her zaman oluşturulur. |
COLLAPSE_LISTS | Enum | Liste öğeleri arasında paragraf aralığı atlanır. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\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. |"]]