Class ThemeColor
צבע העיצוב
ייצוג של צבע עיצוב.
מסמכים מפורטים
getColorType()
אחזור הסוג של הצבע הזה.
חזרה
ColorType
— סוג הצבע.
אישור
סקריפטים שמשתמשים בשיטה הזו דורשים הרשאה עם אחד או יותר מהיקפי הגישה הבאים:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getThemeColorType()
הפונקציה מקבלת את סוג צבע העיצוב של הצבע הזה.
חזרה
ThemeColorType
— סוג צבע העיצוב.
אישור
סקריפטים שמשתמשים בשיטה הזו דורשים הרשאה עם אחד או יותר מהיקפי הגישה הבאים:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-03 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]