Enum SpacingMode
間距模式
段落間距的不同模式。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SlidesApp.SpacingMode.NEVER_COLLAPSE
。
屬性
屬性 | 類型 | 說明 |
UNSUPPORTED | Enum | 不支援的間距模式。 |
NEVER_COLLAPSE | Enum | 系統一律會算出段落間距。 |
COLLAPSE_LISTS | Enum | 清單元素之間會省略段落間距。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-03 (世界標準時間)。
[null,null,["上次更新時間:2024-12-03 (世界標準時間)。"],[[["`SpacingMode` controls the spacing behavior between paragraphs in Google Slides."],["You can access specific spacing modes like `NEVER_COLLAPSE` and `COLLAPSE_LISTS` using `SlidesApp.SpacingMode`."],["`NEVER_COLLAPSE` ensures consistent paragraph spacing, while `COLLAPSE_LISTS` removes spacing between list items."],["`UNSUPPORTED` indicates a spacing mode that is not currently functional."]]],["`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"]]