FormatConditionCollection

FormatConditionCollection

סקירה כללית

FormatConditionCollection הוא struct ב-Aspose.Cells FOSS עבור Rust.

מייצג אוסף של אובייקטי תנאי פורמט.

מבנה זה מצהיר על 11 שיטות עבור אובייקטים FormatConditionCollection בתוכניות Rust. השיטות הזמינות כוללות: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. חברים ציבוריים נגישים לכל יישום Rust לאחר התקנת חבילת Aspose.Cells FOSS עבור 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>מסיר פריט.

ראה גם

 עברית