format_area method

format_area(self, axis_type, field_position, subtotal_type, selection_type, is_grand_row, is_grand_column, style)

Formats selected area.

Returns


def format_area(self, axis_type, field_position, subtotal_type, selection_type, is_grand_row, is_grand_column, style):
    ...
ParameterTypeDescription
axis_typeaspose.cells.pivot.PivotFieldTypeThe region of the PivotTable to which this rule applies.
field_positionintPosition of the field within the axis to which this rule applies.
subtotal_typeaspose.cells.pivot.PivotFieldSubtotalTypeThe subtotal filter type of the pivot field
selection_typeaspose.cells.pivot.PivotTableSelectionTypeIndicates how to select data.
is_grand_rowboolIndicates whether selecting grand total rows.
is_grand_columnboolIndicates whether selecting grand total columns.
styleaspose.cells.StyleThe style which appies to the area of the pivot table.

See Also