format method

format(self, pivot_area, style)

Formats selected area of the PivotTable.


def format(self, pivot_area, style):
    ...
ParameterTypeDescription
pivot_areaaspose.cells.pivot.PivotAreaThe selected pivot view area.
styleaspose.cells.StyleThe formatted setting.

format(self, ca, style)

Formats selected area of the PivotTable.


def format(self, ca, style):
    ...
ParameterTypeDescription
caaspose.cells.CellAreaThe range of the cells.
styleaspose.cells.StyleThe style

format(self, row, column, style)

Format the cell in the pivottable area


def format(self, row, column, style):
    ...
ParameterTypeDescription
rowintRow Index of the cell
columnintColumn index of the cell
styleaspose.cells.StyleStyle which is to format the cell

See Also