Class ThemeColor
رنگ تم نمایشی برای رنگ تم.
مستندات دقیق
get Color Type()
نوع این رنگ را دریافت کنید.
بازگشت
Color Type
- نوع رنگ.
مجوز
اسکریپت هایی که از این روش استفاده می کنند نیاز به مجوز با یک یا چند مورد از حوزه های زیر دارند:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
get Theme Color Type()
نوع رنگ تم این رنگ را دریافت می کند.
بازگشت
Theme Color Type
- نوع رنگ تم.
مجوز
اسکریپت هایی که از این روش استفاده می کنند نیاز به مجوز با یک یا چند مورد از حوزه های زیر دارند:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-12-02 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-12-02 بهوقت ساعت هماهنگ جهانی."],[[["`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"]]