Enum InterpolationType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
プロパティ
プロパティ | タイプ | 説明 |
NUMBER | Enum | この数値は、グラデーション条件の特定の補間ポイントとして使用します。 |
PERCENT | Enum | この数値は、グラデーション条件の割合補間ポイントとして使用します。 |
PERCENTILE | Enum | この数値は、グラデーション条件のパーセンタイル補間ポイントとして使用します。 |
MIN | Enum | 最小数を、グラデーション条件の特定の補間ポイントとして推測します。 |
MAX | Enum | 最大数を、勾配条件の特定の補間ポイントとして推測します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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. |"]]