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Получает количество диапазонов ячеек, охваченных этой коллекцией conditional-formatting.
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>Удаляет элемент.

См. также:

 Русский