FormatConditionCollection
סקירה כללית
FormatConditionCollection הוא מדרגה ב Aspose.Cells עבור NET.
FormatConditionCollection.Add adds a conditional format for the specified area with type, operator and formulas.
תיאור
FormatConditionCollection הוא שיעור בספריה FOSS עבור .NET המציג 8 שיטות ו 2 תכונות לשימוש תוכנה.
גם בכיתה זו נמסר כי Count רכוש (משמעותו של מספר התנאים הכוללים בהרצאה), RangeCount נכס (הוא מצטט את מספר אזורי התא בודדים בקולקציה).
נכסים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
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) | הסרת התנאים ב- אינדיקטור נתון |