PivotAreaCollection

PivotAreaCollection class

Represents a list of pivot area.

class PivotAreaCollection;

Methods

MethodDescription
get(number)Gets a PivotArea object;
add(PivotArea)Adds pivot area.
add(CellArea)Adds an area based on pivot table view.
removeAt(number)Remove one pivot conditional formatted area setting.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets a PivotArea object;

get(index: number) : PivotArea;

Parameters:

ParameterTypeDescription
indexnumber

Returns

PivotArea

add(PivotArea)

Adds pivot area.

add(pivotArea: PivotArea) : number;

Parameters:

ParameterTypeDescription
pivotAreaPivotAreaThe pivot area.

add(CellArea)

Adds an area based on pivot table view.

add(cellArea: CellArea) : void;

Parameters:

ParameterTypeDescription
cellAreaCellAreaThe area based on pivot table view.

removeAt(number)

Remove one pivot conditional formatted area setting.

removeAt(index: number) : void;

Parameters:

ParameterTypeDescription
indexnumberThe index

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;