FormatConditionCollection

FormatConditionCollection

General

FormatConditionCollection és una classe en Aspose.Cells per NET.

FormatConditionCollection.Add afegeix un format condicional per a l’àrea especificada amb tipus, operador i fórmules.

Propietats

NameTypeAccessDescription
CountintReadGets the total number of conditions in the collection
RangeCountintReadGets the number of distinct cell areas in the collection

Mètodes

SignatureDescription
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)Adds a conditional format for the specified area with type, operator and formulas
AddCondition(type: FormatConditionType)Adds a new condition with the specified type using default operator and empty formulas
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)
AddArea(area: CellArea)Adds the specified CellArea to the collection’s range list
GetCellArea(index: int)Returns the CellArea at the given index
RemoveArea(index: int)Removes the cell area at the specified zero-based index
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)
RemoveCondition(index: int)Deletes the condition at the given index
 Català