FormatConditionCollection

FormatConditionCollection

Přehled

FormatConditionCollection je struct v Aspose.Cells FOSS pro Rust.

Reprezentuje kolekci objektů podmínek formátu.

Tento struct deklaruje 11 metod pro objekty FormatConditionCollection v Rust programech. Dostupné metody zahrnují: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Veřejné členy jsou přístupné jakékoli Rust aplikaci po instalaci balíčku Aspose.Cells FOSS pro Rust.

Metody

Podpis:Popis:
count() → usizeZíská počet položek.
range_count() → usizeZíská počet rozsahů buněk pokrytých touto kolekcí podmíněného formátování.
get(index: usize) → Option<FormatCondition<'_>>Získá položku ze sbírky.
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError>Přidá zadanou položku.
add_condition(condition_type: FormatConditionType) → usizePřidá položku.
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usizePřidá položku.
add_area(area: CellArea) → Result<(), CellsError>Přidá položku.
get_cell_area(index: usize) → Result<CellArea, CellsError>Získá přidruženou hodnotu.
remove_area(index: usize) → Result<(), CellsError>Odstraní položku.
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError>Odstraní položku.
remove_condition(index: usize) → Result<(), CellsError>Odstraní položku.

Viz také:

 Čeština