FormatConditionCollection
Übersicht über die
FormatConditionCollection ist eine Klasse in Aspose.Cells für NET.
FormatConditionCollection.Add adds a conditional format for the specified area with type, operator and formulas.
Eigenschaften
| Name der Person | Typ der | Zugang zu den Informationen | Beschreibung |
|---|---|---|---|
Count | int | Lesen Sie . | Erhält die Gesamtzahl der Bedingungen in der Sammlung. |
RangeCount | int | Lesen Sie . | Erhält die Anzahl der einzelnen Zellbereiche in der Sammlung. |
Methoden und Verfahren
| Unterzeichnung | Beschreibung |
|---|---|
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string) | Fügt ein bedingtes Format für den angegebenen Bereich mit Typ, Operator und Formeln hinzu. |
AddCondition(type: FormatConditionType) | Fügt eine neue Bedingung mit dem angegebenen Typ hinzu, indem er Standardoperator und leere Formeln verwendet. |
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string) | |
AddArea(area: CellArea) | Fügt die angegebene CellArea der Sammlung in den Bereich hinzu. |
GetCellArea(index: int) | Gibt den CellArea im angegebenen Index zurück. |
RemoveArea(index: int) | Entfernt die Zellfläche beim angegebenen Null-basierten Index. |
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | |
RemoveCondition(index: int) | Löscht die Bedingung im angegebenen Index |