Enum WrapStyle
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
WrapStyle
อาร์เรย์แบบจำกัดที่กำหนดสไตล์การขึ้นบรรทัดใหม่สำหรับเนื้อหาภายในคอลัมน์
พร้อมใช้งานสำหรับแอป Google Chat และส่วนเสริมของ Google Workspace
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
CardService.WrapStyle.WRAP
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
NOWRAP | Enum | ไม่ห่อ ค่าเริ่มต้น |
WRAP | Enum | ตัดเนื้อหาของวิดเจ็ตในคอลัมน์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eWrapStyle\u003c/code\u003e is an enum used to control text wrapping within columns in Google Chat apps and Google Workspace Add-ons.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eNOWRAP\u003c/code\u003e (default, no wrapping) and \u003ccode\u003eWRAP\u003c/code\u003e (wraps content within column widgets).\u003c/p\u003e\n"],["\u003cp\u003eTo use it, call the enum through its parent class and name, such as \u003ccode\u003eCardService.WrapStyle.WRAP\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum WrapStyle\n\nWrapStyle\n\nAn enum that sets the wrapping style for content within a column.\n\nAvailable for Google Chat apps and Google Workspace add-ons.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.WrapStyle.WRAP`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|------------------------------------------------|\n| `NOWRAP` | `Enum` | No wrapping. Default. |\n| `WRAP` | `Enum` | Wraps the content for any widgets in a column. |"]]