PivotTableFormatCollection.FormatArea

PivotTableFormatCollection.FormatArea method

Formats selected area.

public PivotTableFormat FormatArea(PivotFieldType axisType, int fieldPosition, 
    PivotFieldSubtotalType subtotalType, PivotTableSelectionType selectionType, bool isGrandRow, 
    bool isGrandColumn, Style style)
ParameterTypeDescription
axisTypePivotFieldTypeThe region of the PivotTable to which this rule applies.
fieldPositionInt32Position of the field within the axis to which this rule applies.
subtotalTypePivotFieldSubtotalTypeThe subtotal filter type of the pivot field
selectionTypePivotTableSelectionTypeIndicates 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.

See Also