Class ThemeColor
TemaRengi
Tema renginin gösterimi.
Ayrıntılı dokümanlar
getColorType()
Bu rengin türünü alın.
Return
ColorType
: Renk türü.
Yetkilendirme
Bu yöntemi kullanan komut dosyalarının aşağıdaki kapsamlardan bir veya daha fazlası için yetkilendirilmesi gerekir:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getThemeColorType()
Bu rengin tema rengi türünü alır.
Return
ThemeColorType
: Tema rengi türü.
Yetkilendirme
Bu yöntemi kullanan komut dosyalarının aşağıdaki kapsamlardan bir veya daha fazlası için yetkilendirilmesi gerekir:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-03 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-03 UTC."],[[["`ThemeColor` represents a theme color within Google Apps Script and provides methods for interacting with it."],["It offers two methods: `getColorType()` to determine the color's type (e.g., RGB, HEX) and `getThemeColorType()` to identify its specific theme color type (e.g., ACCENT1, TEXT1)."],["Both methods require authorization with scopes such as `https://www.googleapis.com/auth/spreadsheets.currentonly` or `https://www.googleapis.com/auth/spreadsheets` before use."]]],["ThemeColor provides a representation for a theme color. Key actions involve retrieving color information: `getColorType()` returns the color's type, and `getThemeColorType()` returns the specific theme color type. Both methods require authorization scopes `https://www.googleapis.com/auth/spreadsheets.currentonly` or `https://www.googleapis.com/auth/spreadsheets` to be used within scripts.\n"]]