FormatConditionCollection

FormatConditionCollection

개요

FormatConditionCollection는 Rust용 Aspose.Cells FOSS에 포함된 구조체입니다.

포맷 조건 객체들의 컬렉션을 나타냅니다.

이 구조체는 Rust 프로그램에서 FormatConditionCollection 객체를 위한 11개의 메서드를 선언합니다. 사용 가능한 메서드에는 add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition이(가) 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.

메서드

시그니처설명
count() → usize항목 수를 가져옵니다.
range_count() → usize이 조건부 서식 컬렉션이 포함하는 셀 범위의 수를 가져옵니다.
get(index: usize) → Option<FormatCondition<'_>>컬렉션에서 항목을 가져옵니다.
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError>지정된 항목을 추가합니다.
add_condition(condition_type: FormatConditionType) → usize항목을 추가합니다.
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize항목을 추가합니다.
add_area(area: CellArea) → Result<(), CellsError>항목을 추가합니다.
get_cell_area(index: usize) → Result<CellArea, CellsError>연관된 값을 가져옵니다.
remove_area(index: usize) → Result<(), CellsError>항목을 제거합니다.
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError>항목을 제거합니다.
remove_condition(index: usize) → Result<(), CellsError>항목을 제거합니다.

참조

 한국어