FormatConditionCollection
FormatConditionCollection
Overzicht
FormatConditionCollection is een struct in Aspose.Cells FOSS voor Rust.
Stelt een verzameling van formaatconditie-objecten voor.
Deze struct declareert 11 methoden voor FormatConditionCollection objecten in Rust-programma’s. Beschikbare methoden zijn: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Publieke leden zijn toegankelijk voor elke Rust-applicatie nadat het Aspose.Cells FOSS voor Rust-pakket is geïnstalleerd.
Methoden
| Handtekening | Beschrijving |
|---|---|
count() → usize | Haalt het aantal items op. |
range_count() → usize | Haalt het aantal celbereiken op dat door deze voorwaardelijke-opmaakcollectie wordt gedekt. |
get(index: usize) → Option<FormatCondition<'_>> | Haalt het item uit de collectie op. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Voegt het opgegeven item toe. |
add_condition(condition_type: FormatConditionType) → usize | Voegt een item toe. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Voegt een item toe. |
add_area(area: CellArea) → Result<(), CellsError> | Voegt een item toe. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | Haalt de gekoppelde waarde op. |
remove_area(index: usize) → Result<(), CellsError> | Verwijdert een item. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Verwijdert een item. |
remove_condition(index: usize) → Result<(), CellsError> | Verwijdert een item. |