Enum InterpolationType
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نوع درونیابی شمارشی که گزینه های درون یابی را برای محاسبه یک مقدار برای استفاده در یک Gradient Condition
در یک Conditional Format Rule
نشان می دهد.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. برای مثال، SpreadsheetApp.InterpolationType.NUMBER
.
خواص
اموال | تایپ کنید | توضیحات |
---|
NUMBER | Enum | از عدد به عنوان نقطه درونیابی خاص برای شرایط گرادیان استفاده کنید. |
PERCENT | Enum | از عدد به عنوان یک نقطه درون یابی درصدی برای شرایط گرادیان استفاده کنید. |
PERCENTILE | Enum | از عدد به عنوان نقطه درونیابی صدک برای شرایط گرادیان استفاده کنید. |
MIN | Enum | حداقل عدد را به عنوان یک نقطه درونیابی خاص برای شرایط گرادیان استنباط کنید. |
MAX | Enum | حداکثر عدد را به عنوان یک نقطه درونیابی خاص برای یک شرایط گرادیان استنباط کنید. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eInterpolationType\u003c/code\u003e is used to define how values are calculated for gradient conditions in conditional formatting rules.\u003c/p\u003e\n"],["\u003cp\u003eOptions include using specific numbers, percentages, percentiles, or inferred minimum/maximum values as interpolation points.\u003c/p\u003e\n"],["\u003cp\u003eAccess enum properties using the format: \u003ccode\u003eSpreadsheetApp.InterpolationType.PROPERTY\u003c/code\u003e, replacing \u003ccode\u003ePROPERTY\u003c/code\u003e with desired value like \u003ccode\u003eNUMBER\u003c/code\u003e or \u003ccode\u003ePERCENT\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum InterpolationType\n\nInterpolationType\n\nAn enumeration representing the interpolation options for calculating a value to be used in a\n[GradientCondition](/apps-script/reference/spreadsheet/gradient-condition) in a [ConditionalFormatRule](/apps-script/reference/spreadsheet/conditional-format-rule).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.InterpolationType.NUMBER`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|--------------------------------------------------------------------------------------|\n| `NUMBER` | `Enum` | Use the number as as specific interpolation point for a gradient condition. |\n| `PERCENT` | `Enum` | Use the number as a percentage interpolation point for a gradient condition. |\n| `PERCENTILE` | `Enum` | Use the number as a percentile interpolation point for a gradient condition. |\n| `MIN` | `Enum` | Infer the minimum number as a specific interpolation point for a gradient condition. |\n| `MAX` | `Enum` | Infer the maximum number as a specific interpolation point for a gradient condition. |"]]