Enum SpacingMode
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โหมดการเว้นวรรค
โหมดต่างๆ ของการเว้นวรรคระหว่างย่อหน้า
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SlidesApp.SpacingMode.NEVER_COLLAPSE
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | โหมดการเว้นวรรคที่ไม่รองรับ |
NEVER_COLLAPSE | Enum | ระบบจะแสดงผลระยะบรรทัดของย่อหน้าเสมอ |
COLLAPSE_LISTS | Enum | ระบบจะข้ามการเว้นวรรคระหว่างองค์ประกอบรายการ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]