FormatConditionCollection

FormatConditionCollection

نمای کلی

FormatConditionCollection یک ساختار در Aspose.Cells FOSS برای Rust است.

نمایش‌دهندهٔ مجموعه‌ای از اشیاء شرط قالب.

این ساختار ۱۱ متد برای اشیاء 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 هستند. اعضای عمومی پس از نصب بستهٔ Aspose.Cells FOSS برای 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>یک مورد را حذف می‌کند.

همچنین ببینید:

 فارسی