Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Class ThemeColor
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
ThemeColor
Tema renginin gösterimi.
Ayrıntılı belgeler
getColorType()
Bu rengin türünü alın.
Return
ColorType: Renk türü.
Yetkilendirme
Bu yöntemi kullanan komut dosyaları, aşağıdaki kapsamlardan biri veya daha fazlasıyla yetkilendirme gerektirir:
-
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ı, aşağıdaki kapsamlardan biri veya daha fazlasıyla yetkilendirme gerektirir:
-
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: 2026-04-13 UTC.
[null,null,["Son güncelleme tarihi: 2026-04-13 UTC."],[],["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"]]