FormatConditionCollection
FormatConditionCollection
Gambaran Umum
FormatConditionCollection adalah struct dalam Aspose.Cells FOSS untuk Rust.
Mewakili kumpulan objek kondisi format.
Struct ini mendeklarasikan 11 metode untuk objek FormatConditionCollection dalam program Rust. Metode yang tersedia meliputi: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Anggota publik dapat diakses oleh aplikasi Rust mana pun setelah memasang paket Aspose.Cells FOSS untuk Rust.
Metode
| Tanda tangan | Deskripsi |
|---|---|
count() → usize | Mendapatkan jumlah item. |
range_count() → usize | Mendapatkan jumlah rentang sel yang dicakup oleh koleksi pemformatan bersyarat ini. |
get(index: usize) → Option<FormatCondition<'_>> | Mendapatkan item dari koleksi. |
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError> | Menambahkan item yang ditentukan. |
add_condition(condition_type: FormatConditionType) → usize | Menambahkan item. |
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize | Menambahkan item. |
add_area(area: CellArea) → Result<(), CellsError> | Menambahkan item. |
get_cell_area(index: usize) → Result<CellArea, CellsError> | Mendapatkan nilai yang terkait. |
remove_area(index: usize) → Result<(), CellsError> | Menghapus item. |
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | Menghapus item. |
remove_condition(index: usize) → Result<(), CellsError> | Menghapus item. |