Enum InterpolationType
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इंटरपोलेशनटाइप
ConditionalFormatRule
में GradientCondition
में इस्तेमाल की जाने वाली वैल्यू का हिसाब लगाने के लिए, इंटरपोलेशन के विकल्पों को दिखाने वाला एनोटेशन.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
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 और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\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. |"]]