FormatConditionCollection

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

SignatureDescription
GetCount()intGets the number of items.
GetRangeCount()intGets the range count.
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view)intAdds 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)intAdds 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)intAdds 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)CellAreaGets 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)boolDetermines 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)intCompares 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
 Français