
## format(self, pivot_area, style) {#aspose.cells.pivot.PivotArea-aspose.cells.Style}

Formats selected area of the PivotTable.



```python

def format(self, pivot_area, style):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| pivot_area | aspose.cells.pivot.PivotArea | The selected pivot view area. |
| style | aspose.cells.Style | The formatted setting. |


## format(self, ca, style) {#aspose.cells.CellArea-aspose.cells.Style}

Formats selected area of the PivotTable.



```python

def format(self, ca, style):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| ca | aspose.cells.CellArea | The range of the cells. |
| style | aspose.cells.Style | The style |


## format(self, row, column, style) {#int-int-aspose.cells.Style}

Formats the cell in the pivottable area



```python

def format(self, row, column, style):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| row | int | Row Index of the cell |
| column | int | Column index of the cell |
| style | aspose.cells.Style | Style which is to format the cell |



### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotTable`](/cells/python-net/aspose.cells.pivot/pivottable)
