FormatConditionCollection
FormatConditionCollection
Prezentare generală
FormatConditionCollection este un struct în Aspose.Cells FOSS pentru Rust.
Reprezintă o colecție de obiecte de condiție de format.
Acest struct declară 11 metode pentru obiecte FormatConditionCollection în programele Rust. Metodele disponibile includ: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Membrii publici sunt accesibili oricărei aplicații Rust după instalarea pachetului Aspose.Cells FOSS pentru Rust.
Metode
| Semnătură | Descriere: |
|---|---|
count() → usize | Obține numărul de elemente. |
range_count() → usize | Obține numărul de intervale de celule acoperite de această colecție de formatare condițională. |
get(index: usize) → Option<FormatCondition<'_>> | Obține elementul din colecție. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Adaugă elementul specificat. |
add_condition(condition_type: FormatConditionType) → usize | Adaugă un element. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Adaugă un element. |
add_area(area: CellArea) → Result<(), CellsError> | Adaugă un element. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | Obține valoarea asociată. |
remove_area(index: usize) → Result<(), CellsError> | Elimină un element. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Elimină un element. |
remove_condition(index: usize) → Result<(), CellsError> | Elimină un element. |