Skip to main content

ApiFormatConditions

Represents the ApiFormatConditions class.

Properties​

NameTypeDescription
CountnumberReturns the number of conditional formatting rules in the collection.
ParentApiRangeReturns the parent range object associated with the current conditional formatting collection.

Methods​

MethodReturnsDescription
AddApiFormatCondition | nullAdds a new format condition to the collection.
AddAboveAverageApiAboveAverage | nullAdds a new above average conditional formatting rule to the collection.
AddColorScaleApiColorScale | nullAdds a new color scale conditional formatting rule to the collection.
AddDatabarApiDatabar | nullAdds a new data bar conditional formatting rule to the collection.
AddIconSetConditionApiIconSetCondition | nullAdds a new icon set conditional formatting rule to the collection.
AddTop10ApiTop10 | nullAdds a new top 10 conditional formatting rule to the collection.
AddUniqueValuesApiUniqueValues | nullAdds a new unique values conditional formatting rule to the collection.
DeleteNoneDeletes all format conditions from the collection.
GetCountnumberReturns the number of conditional formatting rules in the collection.
GetItemApiFormatCondition | nullReturns a format condition by its index.
GetParentApiRangeReturns the parent range object associated with the current conditional formatting collection.