FormatConditionCollection
المعلومات العامة
FormatConditionCollection هي فئة في Aspose.Cells لـ NET.
FormatConditionCollection.Add adds a conditional format for the specified area with type, operator and formulas.
خصائص
| اسم | النوع | الوصول | وصف |
|---|---|---|---|
Count | int | اقرأ | يحصل على العدد الإجمالي للظروف في المجموعة. |
RangeCount | int | اقرأ | يحصل على عدد المناطق الخلية المميزة في مجموعة. |
الطرق
| التوقيع | وصف |
|---|---|
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string) | يضيف شكل مشروط للمنطقة المحددة مع النوع والعامل وصيغ. |
AddCondition(type: FormatConditionType) | يضيف شرط جديد مع النوع المحدد باستخدام المشغل الافتراضي والصيغ الفارغة |
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string) | |
AddArea(area: CellArea) | يضيف CellArea المحدد إلى قائمة نطاق المجموعة. |
GetCellArea(index: int) | يعيد CellArea في المؤشر المحدد |
RemoveArea(index: int) | يزيل مساحة الخلية عند المؤشر المحدد على أساس الصفر |
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | |
RemoveCondition(index: int) | حذف الشرط في المؤشر المحدد |