Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
InterpolationTyp
Eine Aufzählung der Interpolationsoptionen für die Berechnung eines Werts, der in einer GradientCondition in einer ConditionalFormatRule verwendet werden soll.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.InterpolationType.NUMBER.
Attribute
Attribut
Typ
Beschreibung
NUMBER
Enum
Verwenden Sie die Zahl als bestimmten Interpolationspunkt für eine Farbverlaufsbedingung.
PERCENT
Enum
Verwenden Sie die Zahl als Prozentsatz für einen Interpolationspunkt für eine Farbverlaufsbedingung.
PERCENTILE
Enum
Verwenden Sie die Zahl als Interpolationspunkt für einen Prozentsatz für eine abgestufte Bedingung.
MIN
Enum
Die Mindestanzahl wird als bestimmter Interpolationspunkt für eine Farbverlaufsbedingung abgeleitet.
MAX
Enum
Die maximale Anzahl als bestimmten Interpolationspunkt für eine Farbverlaufsbedingung ableiten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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. |"]]