FormatConditionCollection
FormatConditionCollection
Genel Bakış
FormatConditionCollection, Rust için Aspose.Cells FOSS içinde bir struct’tir.
Biçim koşul nesnelerinin bir koleksiyonunu temsil eder.
Bu struct, Rust programlarındaki FormatConditionCollection nesneleri için 11 yöntem bildirir. Mevcut yöntemler şunlardır: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Genel üyeler, Aspose.Cells FOSS for Rust paketini kurduktan sonra herhangi bir Rust uygulaması tarafından erişilebilir.
Yöntemler
| İmza | Açıklama |
|---|---|
count() → usize | Öğelerin sayısını alır. |
range_count() → usize | Bu koşullu biçimlendirme koleksiyonunun kapsadığı hücre aralıklarının sayısını alır. |
get(index: usize) → Option<FormatCondition<'_>> | Koleksiyondan öğeyi alır. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Belirtilen öğeyi ekler. |
add_condition(condition_type: FormatConditionType) → usize | Bir öğe ekler. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Bir öğe ekler. |
add_area(area: CellArea) → Result<(), CellsError> | Bir öğe ekler. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | İlgili değeri alır. |
remove_area(index: usize) → Result<(), CellsError> | Bir öğeyi kaldırır. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Bir öğeyi kaldırır. |
remove_condition(index: usize) → Result<(), CellsError> | Bir öğeyi kaldırır. |