Class ThemeColor
מסמכים מפורטים
getColorType()
אחזור הסוג של הצבע הזה.
חזרה
ColorType
— סוג הצבע.
אישור
סקריפטים שמשתמשים בשיטה הזו דורשים הרשאה עם אחד או יותר מהיקפי הגישה הבאים:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getThemeColorType()
הצגת סוג צבע העיצוב של הצבע הזה.
חזרה
ThemeColorType
אישור
סקריפטים שמשתמשים בשיטה הזו דורשים הרשאה עם אחד או יותר מהיקפי הגישה הבאים:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון 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 color from a Google Slide's color scheme, allowing you to access and utilize predefined colors."],["It provides two methods: `getColorType()` to determine the color's general type and `getThemeColorType()` to identify its specific role within the theme."],["Both methods require authorization with specific scopes related to Google Slides access."]]],["ThemeColor represents a color linked to a page's ColorScheme. It offers two methods: `getColorType()` and `getThemeColorType()`. `getColorType()` retrieves the color's type, returning a ColorType. `getThemeColorType()` fetches the specific theme color type, returning a ThemeColorType. Both methods necessitate authorization via specific scopes like `presentations.currentonly` or `presentations` to operate within scripts.\n"]]