PivotFieldCollection class

PivotFieldCollection class

Represents a collection of all the PivotField objects in the PivotTable’s specific PivotFields type.

The PivotFieldCollection type exposes the following members:

Properties

PropertyDescription
typeGets the PivotFields type.
countGets the count of the pivotFields.

Gets the PivotField Object at the specific index.

Indexer

NameDescription
[index]

Methods

MethodDescription
add_by_base_index(self, base_field_index)Adds a PivotField Object to the specific type PivotFields.
add(self, pivot_field)Adds a PivotField Object to the specific type PivotFields.
clear(self)clear all fields of PivotFieldCollection
move(self, curr_pos, dest_pos)Moves the PivotField from current position to destination position

See Also