ConditionalFormattingCollection

ConditionalFormattingCollection class

Encapsulates a collection of FormatCondition objects.

Methods

NameDescription
add()Adds a FormatConditions to the collection.
add()Reserved for internal use.
clear()
contains()Reserved for internal use.
copy(cfs)Copies conditional formatting.
get(index)Gets the FormatConditions element at the specified index.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeArea(startRow, startColumn, totalRows, totalColumns)Remove all conditional formatting in the range.
removeAt()

add()

Adds a FormatConditions to the collection.

Returns: Number — Number FormatConditions object index.

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

copy(cfs)

Copies conditional formatting.

ParameterTypeDescription
cfsConditionalFormattingCollectionThe conditional formatting

get(index)

Gets the FormatConditions element at the specified index.

ParameterTypeDescription
indexNumberThe zero based index of the element.

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeArea(startRow, startColumn, totalRows, totalColumns)

Remove all conditional formatting in the range.

ParameterTypeDescription
startRowNumberThe start row of the range.
startColumnNumberThe start column of the range.
totalRowsNumberThe number of rows of the range.
totalColumnsNumberThe number of columns of the range.

removeAt()