Enum BandingTheme
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
BandingDesign
Eine Aufzählung von Streifenmustern. Jedes Design besteht aus mehreren Komplementärfarben, die je nach den Einstellungen für die Farbbänder auf verschiedene Zellen angewendet werden.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.BandingTheme.LIGHT_GREY
.
Attribute
Attribut | Typ | Beschreibung |
LIGHT_GREY | Enum | Ein hellgraues Streifenmuster. |
CYAN | Enum | Ein zyanblaues Streifendesign. |
GREEN | Enum | Ein grünes Streifenmuster. |
YELLOW | Enum | Ein gelbes Streifenmuster |
ORANGE | Enum | Ein orangefarbenes Streifenmuster. |
BLUE | Enum | Ein blaues Streifenmuster. |
TEAL | Enum | Ein blaugrünes Streifendesign. |
GREY | Enum | Ein graues Streifenmuster |
BROWN | Enum | Ein braunes Streifenmuster. |
LIGHT_GREEN | Enum | Ein hellgrünes Streifenmuster. |
INDIGO | Enum | Ein indigofarbenes Streifendesign. |
PINK | Enum | Ein rosafarbenes Streifenmuster. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]