Enum SpacingMode
间距模式
段落间距的不同模式。
如需调用枚举,您可以调用其父类、名称和属性。例如
SlidesApp.SpacingMode.NEVER_COLLAPSE
。
属性
属性 | 类型 | 说明 |
UNSUPPORTED | Enum | 不支持的间距模式。 |
NEVER_COLLAPSE | Enum | 系统始终会呈现段落间距。 |
COLLAPSE_LISTS | Enum | 列表元素之间会跳过段落间距。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-03。
[null,null,["最后更新时间 (UTC):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"]]