FormatConditionCollection

FormatConditionCollection

Tổng quan

FormatConditionCollection là một struct trong Aspose.Cells FOSS cho Rust.

Biểu diễn một tập hợp các đối tượng điều kiện định dạng.

Struct này khai báo 11 phương thức cho các đối tượng FormatConditionCollection trong các chương trình Rust. Các phương thức khả dụng bao gồm: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. Các thành viên công cộng có thể truy cập được bởi bất kỳ ứng dụng Rust nào sau khi cài đặt gói Aspose.Cells FOSS cho Rust.

Phương thức

Chữ kýMô tả
count() → usizeLấy số lượng các mục.
range_count() → usizeLấy số lượng vùng ô được bộ sưu tập định dạng có điều kiện này bao phủ.
get(index: usize) → Option<FormatCondition<'_>>Lấy mục từ bộ sưu tập.
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError>Thêm mục đã chỉ định.
add_condition(condition_type: FormatConditionType) → usizeThêm một mục.
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usizeThêm một mục.
add_area(area: CellArea) → Result<(), CellsError>Thêm một mục.
get_cell_area(index: usize) → Result<CellArea, CellsError>Lấy giá trị liên kết.
remove_area(index: usize) → Result<(), CellsError>Xóa một mục.
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError>Xóa một mục.
remove_condition(index: usize) → Result<(), CellsError>Xóa một mục.

Xem thêm

 Tiếng Việt