PivotTableFormatCollection

PivotTableFormatCollection class

Represents the collection of formats applied to PivotTable.

Properties

NameTypeDescription
Countint
Item (int)PivotTableFormatGets the format by the index.

Methods

NameDescription
addAdd a PivotTableFormat .
formatAreaFormats selected area.
clear
removeAt
iterator
getReserved for internal use.
containsReserved for internal use.
indexOfReserved for internal use.

PivotTableFormatCollection.Count property

Type: int

PivotTableFormatCollection.Item (int) property

Gets the format by the index.

Type: PivotTableFormat

add() (1 of 2)

Add a PivotTableFormat .

Returns: The index of new format.


add(value) (2 of 2)

Reserved for internal use.

formatArea(axisType, fieldPosition, subtotalType, selectionType, isGrandRow, isGrandColumn, style)

Formats selected area.

ParameterTypeDescription
axisTypeintA PivotFieldType value. The region of the PivotTable to which this rule applies.
fieldPositionintPosition of the field within the axis to which this rule applies.
subtotalTypeintA PivotFieldSubtotalType value. The subtotal filter type of the pivot field
selectionTypeintA PivotTableSelectionType value. Indicates how to select data.
isGrandRowbooleanIndicates whether selecting grand total rows.
isGrandColumnbooleanIndicates whether selecting grand total columns.
styleStyleThe style which appies to the area of the pivot table.

clear()

removeAt(index)

iterator()

get(index)

Reserved for internal use.

contains(value)

Reserved for internal use.

indexOf(value)

Reserved for internal use.