FormatConditionCollection
סקירה כללית
FormatConditionCollection הוא שיעור ב Aspose.Cells FOSS עבור C++.
מייצג אוסף של פריטים מצב פורמט.
שיעור זה מספק 15 שיטות לעבוד עם אובייקטים FormatConditionCollection בתוכניות C++. שיטות זמינות כוללות: Add, AddArea, AddCondition, AreasOverlap, CompareAreas, GetCellArea, GetCount, GetRangeCount, RemoveArea, RemoveCondition, SortAreas. כל החברים הציבוריים זמינים לכל יישום C++ לאחר התקנת Aspose.Cells FOSS עבור חבילת C+.
שיטות
| חתימה | תיאור |
|---|---|
GetCount() → int | מקבל את מספר הפריטים. |
GetRangeCount() → int | מקבל את סכום הטווח. |
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view) → int | הוספת פריט מסוים, אזור, סוג, סוגי מפעיל, טופס 1. טפסים 2. אינדיקטור מבוסס אפס של פריטי הוסף. |
AddCondition(type: FormatConditionType) → int | הוספת התנאי המפורט.הסוג.אינדקס מבוסס אפס של הפריטים המוסיפים. |
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view) → int | הוספת התנאי המפורט.הסוג.סוגי המפעיל.תבנית1.תמונה2.אינדקס המבוסס על אפס של הפריטים שהוסיפו. |
AddArea(area: CellArea) | הוסף את האזור המוגדר - אזור. |
GetCellArea(index: int) → CellArea | מקבל את אזור התא באזור המדויק.האינדקס המבוסס על אפס. |
RemoveArea(index: int) | הסרת אזור על המדד המפורט.המדד המבוסס על אפס. |
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | הסר את האזור במקום שנקבע.השורה התחילה.עמודה התחלה.מספר השורות הכולל. המספר הכוללי של העמודות. |
RemoveArea(area: CellArea) | הסר את האזור המוגדר, אזור התא להסיר. |
RemoveCondition(index: int) | הסרת המצב על המדד שנקבע. - מדד מבוסס אפס. |
RemoveCondition(owner: std::vector<Core::ConditionalFormattingModel>, collection: Core::ConditionalFormattingModel, model: Core::FormatConditionModel) | הסרת התנאים שנקבעו.הסדרה של הבעלים.האוסף.המודל להסיר. |
AreasOverlap(left: CellArea, right: CellArea) → bool | קובע אם האזורים המפורטים מופרכים.השטח השמאלי.האזור הימני.אמת אם אזורי מפרקים; אחרת, שקר. |
SortAreas(areas: std::vector<CellArea>) | תצטרך לסדר את האזורים שנקבעו. |
CompareAreas(left: CellArea, right: CellArea) → int | השוואת שני אזורים לרישום: האזור הימני, האזורים הימניים, הערך השלילי אם שמאל הוא פחות מהצד, אפס אם שווה, חיובי אם גדול יותר. |