FormatConditionCollection

FormatConditionCollection

Översikt

FormatConditionCollection är en struct i Aspose.Cells FOSS för Rust.

Representerar en samling av formatvillkorsobjekt.

Denna struct deklarerar 11 metoder för FormatConditionCollection-objekt i Rust-program. Tillgängliga metoder inkluderar: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Publika medlemmar är åtkomliga för alla Rust-applikationer efter att ha installerat Aspose.Cells FOSS för Rust-paketet.

Metoder

SignaturBeskrivning
count() → usizeHämtar antalet objekt.
range_count() → usizeHämtar antalet cellområden som täcks av den här villkorsformateringssamlingen.
get(index: usize) → Option<FormatCondition<'_>>Hämtar objektet från samlingen.
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError>Lägger till det angivna objektet.
add_condition(condition_type: FormatConditionType) → usizeLägger till ett objekt.
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usizeLägger till ett objekt.
add_area(area: CellArea) → Result<(), CellsError>Lägger till ett objekt.
get_cell_area(index: usize) → Result<CellArea, CellsError>Hämtar det associerade värdet.
remove_area(index: usize) → Result<(), CellsError>Tar bort ett objekt.
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError>Tar bort ett objekt.
remove_condition(index: usize) → Result<(), CellsError>Tar bort ett objekt.

Se även

 Svenska