FormatConditionCollection
FormatConditionCollection
Übersicht
FormatConditionCollection ist ein struct in Aspose.Cells FOSS für Rust.
Stellt eine Sammlung von Format-Bedingungsobjekten dar.
Dieses struct deklariert 11 Methoden für FormatConditionCollection-Objekte in Rust-Programmen. Verfügbare Methoden umfassen: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Öffentliche Mitglieder sind für jede Rust-Anwendung zugänglich, nachdem das Aspose.Cells FOSS für Rust-Paket installiert wurde.
Methoden
| Signatur | Beschreibung |
|---|---|
count() → usize | Ruft die Anzahl der Elemente ab. |
range_count() → usize | Ermittelt die Anzahl der Zellbereiche, die von dieser bedingten Formatierungssammlung abgedeckt werden. |
get(index: usize) → Option<FormatCondition<'_>> | Ruft das Element aus der Sammlung ab. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Fügt das angegebene Element hinzu. |
add_condition(condition_type: FormatConditionType) → usize | Fügt ein Element hinzu. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Fügt ein Element hinzu. |
add_area(area: CellArea) → Result<(), CellsError> | Fügt ein Element hinzu. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | Gibt den zugehörigen Wert zurück. |
remove_area(index: usize) → Result<(), CellsError> | Entfernt ein Element. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Entfernt ein Element. |
remove_condition(index: usize) → Result<(), CellsError> | Entfernt ein Element. |