FormatConditionCollection
FormatConditionCollection
نظرة عامة
FormatConditionCollection هو struct في Aspose.Cells FOSS للـ Rust.
يمثل مجموعة من كائنات شرط التنسيق.
هذا الـ struct يعلن عن 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> | يزيل عنصرًا. |