FormatConditionCollection
FormatConditionCollection
Przegląd
FormatConditionCollection jest structem w Aspose.Cells FOSS dla Rust.
Reprezentuje kolekcję obiektów warunków formatu.
Ta struktura deklaruje 11 metod dla obiektów FormatConditionCollection w programach Rust. Dostępne metody to: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Publiczne elementy są dostępne dla każdej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.
Metody
| Sygnatura | Opis |
|---|---|
count() → usize | Zwraca liczbę elementów. |
range_count() → usize | Zwraca liczbę zakresów komórek objętych tą kolekcją formatowania warunkowego. |
get(index: usize) → Option<FormatCondition<'_>> | Pobiera element z kolekcji. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Dodaje określony element. |
add_condition(condition_type: FormatConditionType) → usize | Dodaje element. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Dodaje element. |
add_area(area: CellArea) → Result<(), CellsError> | Dodaje element. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | Pobiera powiązaną wartość. |
remove_area(index: usize) → Result<(), CellsError> | Usuwa element. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Usuwa element. |
remove_condition(index: usize) → Result<(), CellsError> | Usuwa element. |