FormatConditionCollection
Vue de l’ensemble
‘FormatConditionCollection’ est une classe dans Aspose.Cells FOSS pour C++.
Il représente une collection d’objets de condition du format.
Cette classe fournit 15 méthodes pour travailler avec les objets FormatConditionCollection dans des programmes C++. Les méthodologies disponibles comprennent: ‘Add’, ‘Addi Area’, Ads Condition', ‘AreasOverlap’, 'CompareArea', ’GetCellAréal', ‚GatCount‘, 'GtRangeCounta, ‘RemoveAree , 'RmoveCondicion et ‘SortArees’. Tous les membres publics sont accessibles à toute application C ++ après l’installation de l’Aspouse.Cells FOSS pour le package C+.
méthodes
| Signature | Description |
|---|---|
GetCount() → int | Gets the number of items. |
GetRangeCount() → int | Gets the range count. |
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view) → int | Adds the specified item. The area. The type. The operator type. The formula1. The formula2. The zero-based index of the added item. |
AddCondition(type: FormatConditionType) → int | Adds the specified condition. The type. The zero-based index of the added item. |
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view) → int | Adds the specified condition. The type. The operator type. The formula1. The formula2. The zero-based index of the added item. |
AddArea(area: CellArea) | Adds the specified area. The area. |
GetCellArea(index: int) → CellArea | Gets the cell area at the specified index. The zero-based index. The cell area. |
RemoveArea(index: int) | Removes the area at the specified index. The zero-based index. |
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | Removes the area at the specified location. The start row. The start column. The total number of rows. The total number of columns. |
RemoveArea(area: CellArea) | Removes the specified area. The cell area to remove. |
RemoveCondition(index: int) | Removes the condition at the specified index. The zero-based index. |
RemoveCondition(owner: std::vector<Core::ConditionalFormattingModel>, collection: Core::ConditionalFormattingModel, model: Core::FormatConditionModel) | Removes the specified condition. The owner collection. The collection. The model to remove. |
AreasOverlap(left: CellArea, right: CellArea) → bool | Determines whether the specified areas overlap. The left area. The right area. true if the areas overlap; otherwise, false. |
SortAreas(areas: std::vector<CellArea>) | Sorts the specified areas. The areas to sort. |
CompareAreas(left: CellArea, right: CellArea) → int | Compares two areas for sorting. The left area. The right area. A negative value if left is less than right, zero if equal, positive if greater. |
Voir aussi
- Aspose.Cells — référence API d’entreprise