Enum BandingTheme
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
BandingTheme
การแจกแจงธีมการจัดกลุ่ม แต่ละธีมประกอบด้วยสีเสริมหลายสีที่ใช้กับเซลล์ต่างๆ ตามการตั้งค่าการแบ่งกลุ่ม
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SpreadsheetApp.BandingTheme.LIGHT_GREY
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
LIGHT_GREY | Enum | ธีมแถบสีเทาอ่อน |
CYAN | Enum | ธีมแถบสีฟ้าอมเขียว |
GREEN | Enum | ธีมแถบสีเขียว |
YELLOW | Enum | ธีมแถบสีเหลือง |
ORANGE | Enum | ธีมแถบสีส้ม |
BLUE | Enum | ธีมแถบสีฟ้า |
TEAL | Enum | ธีมแถบสีน้ำเงินอมเขียว |
GREY | Enum | ธีมแถบสีเทา |
BROWN | Enum | ธีมแถบสีน้ำตาล |
LIGHT_GREEN | Enum | ธีมแถบสีเขียวอ่อน |
INDIGO | Enum | ธีมแถบสีคราม |
PINK | Enum | ธีมแถบสีชมพู |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eBandingTheme\u003c/code\u003e is an enumeration used to define color schemes for banding in Google Sheets.\u003c/p\u003e\n"],["\u003cp\u003eYou can apply a banding theme to a sheet using the \u003ccode\u003eSpreadsheetApp.BandingTheme\u003c/code\u003e enum followed by the specific theme name, such as \u003ccode\u003eLIGHT_GREY\u003c/code\u003e or \u003ccode\u003eCYAN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are a variety of pre-defined color themes available like \u003ccode\u003eLIGHT_GREY\u003c/code\u003e, \u003ccode\u003eCYAN\u003c/code\u003e, \u003ccode\u003eGREEN\u003c/code\u003e, \u003ccode\u003eYELLOW\u003c/code\u003e, \u003ccode\u003eORANGE\u003c/code\u003e, \u003ccode\u003eBLUE\u003c/code\u003e, \u003ccode\u003eTEAL\u003c/code\u003e, \u003ccode\u003eGREY\u003c/code\u003e, \u003ccode\u003eBROWN\u003c/code\u003e, \u003ccode\u003eLIGHT_GREEN\u003c/code\u003e, \u003ccode\u003eINDIGO\u003c/code\u003e, and \u003ccode\u003ePINK\u003c/code\u003e.\u003c/p\u003e\n"]]],["BandingTheme defines color schemes for spreadsheet cell banding. Themes, accessed via `SpreadsheetApp.BandingTheme.PROPERTY`, apply complementary colors based on banding settings. Available themes include `LIGHT_GREY`, `CYAN`, `GREEN`, `YELLOW`, `ORANGE`, `BLUE`, `TEAL`, `GREY`, `BROWN`, `LIGHT_GREEN`, `INDIGO`, and `PINK`. Each theme is an `Enum` type, and the selection will determine the color combinations applied to banded cells.\n"],null,["# Enum BandingTheme\n\nBandingTheme\n\nAn enumeration of banding themes. Each theme consists of several complementary colors that are\napplied to different cells based on the banding settings.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.BandingTheme.LIGHT_GREY`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|------------------------------|\n| `LIGHT_GREY` | `Enum` | A light grey banding theme. |\n| `CYAN` | `Enum` | A cyan banding theme. |\n| `GREEN` | `Enum` | A green banding theme. |\n| `YELLOW` | `Enum` | A yellow banding theme. |\n| `ORANGE` | `Enum` | An orange banding theme. |\n| `BLUE` | `Enum` | A blue banding theme. |\n| `TEAL` | `Enum` | A teal banding theme. |\n| `GREY` | `Enum` | A grey banding theme. |\n| `BROWN` | `Enum` | A brown banding theme. |\n| `LIGHT_GREEN` | `Enum` | A light green banding theme. |\n| `INDIGO` | `Enum` | An indigo banding theme. |\n| `PINK` | `Enum` | A pink banding theme. |"]]