PivotFormatCondition

PivotFormatCondition class

Represents a PivotTable Format Condition in PivotFormatCondition Collection.

Methods

NameDescription
addColumnAreaCondition(fieldName)Adds PivotTable conditional format limit in the column fields.
addColumnAreaCondition(columnField)Adds PivotTable conditional format limit in the column fields.
addDataAreaCondition(fieldName)Adds PivotTable conditional format limit in the data fields.
addDataAreaCondition(dataField)Adds PivotTable conditional format limit in the data fields.
addRowAreaCondition(fieldName)Adds PivotTable conditional format limit in the row fields.
addRowAreaCondition(rowField)Adds PivotTable conditional format limit in the row fields.
getFormatConditions()Get formatconditions for the pivot table condition format .
getRuleType()Get and set rule type for the pivot table condition format . The value of the property is PivotConditionFormatRuleType i
getScopeType()Get and set scope type for the pivot table condition format . The value of the property is PivotConditionFormatScopeType
setConditionalAreas()Sets conditional areas of PivotFormatCondition object.
setRuleType()Get and set rule type for the pivot table condition format . The value of the property is PivotConditionFormatRuleType i
setScopeType()Get and set scope type for the pivot table condition format . The value of the property is PivotConditionFormatScopeType

addColumnAreaCondition(fieldName)

Adds PivotTable conditional format limit in the column fields.

ParameterTypeDescription
fieldNameStringThe name of PivotField.

addColumnAreaCondition(columnField)

Adds PivotTable conditional format limit in the column fields.

ParameterTypeDescription
columnFieldPivotFieldThe PivotField in the column fields.

addDataAreaCondition(fieldName)

Adds PivotTable conditional format limit in the data fields.

ParameterTypeDescription
fieldNameStringThe name of PivotField.

addDataAreaCondition(dataField)

Adds PivotTable conditional format limit in the data fields.

ParameterTypeDescription
dataFieldPivotFieldThe PivotField in the data fields.

addRowAreaCondition(fieldName)

Adds PivotTable conditional format limit in the row fields.

ParameterTypeDescription
fieldNameStringThe name of PivotField.

addRowAreaCondition(rowField)

Adds PivotTable conditional format limit in the row fields.

ParameterTypeDescription
rowFieldPivotFieldThe PivotField in the row fields.

getFormatConditions()

Get formatconditions for the pivot table condition format .

getRuleType()

Get and set rule type for the pivot table condition format . The value of the property is PivotConditionFormatRuleType integer constant.

getScopeType()

Get and set scope type for the pivot table condition format . The value of the property is PivotConditionFormatScopeType integer constant.

setConditionalAreas()

Sets conditional areas of PivotFormatCondition object.

setRuleType()

Get and set rule type for the pivot table condition format . The value of the property is PivotConditionFormatRuleType integer constant.

setScopeType()

Get and set scope type for the pivot table condition format . The value of the property is PivotConditionFormatScopeType integer constant.