FormatConditionCollection
FormatConditionCollection
Огляд
FormatConditionCollection — це структура у Aspose.Cells FOSS для Rust.
Представляє колекцію об’єктів умов формату.
Ця структура оголошує 11 методів для об’єктів FormatConditionCollection у програмах Rust. Доступні методи включають: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Публічні члени доступні будь-якому застосунку Rust після встановлення пакету Aspose.Cells FOSS для Rust.
Методи
| Сигнатура | Опис |
|---|---|
count() → usize | Отримує кількість елементів. |
range_count() → usize | Отримує кількість діапазонів клітинок, охоплених цією колекцією умовного форматування. |
get(index: usize) → Option<FormatCondition<'_>> | Отримує елемент з колекції. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Додає вказаний елемент. |
add_condition(condition_type: FormatConditionType) → usize | Додає елемент. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Додає елемент. |
add_area(area: CellArea) → Result<(), CellsError> | Додає елемент. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | Отримує пов’язане значення. |
remove_area(index: usize) → Result<(), CellsError> | Видаляє елемент. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Видаляє елемент. |
remove_condition(index: usize) → Result<(), CellsError> | Видаляє елемент. |