
## PivotTableFormat class

Represents the format defined in the PivotTable.

```javascript
class PivotTableFormat;
```


## Properties

| Property | Type | Description |
| --- | --- | --- |
| [pivotArea](#pivotArea--)| PivotArea | Readonly. Gets the pivot area. |

## Methods

| Method | Description |
| --- | --- |
| [getStyle()](#getStyle--)| Gets the formatted style. |
| [setStyle(Style)](#setStyle-style-)| Sets the style of the pivot area. |


### pivotArea {#pivotArea--}

Readonly. Gets the pivot area.

```javascript
pivotArea : PivotArea;
```


### getStyle() {#getStyle--}

Gets the formatted style.

```javascript
getStyle() : Style;
```


**Returns**

[Style](../style/)

### setStyle(Style) {#setStyle-style-}

Sets the style of the pivot area.

```javascript
setStyle(style: Style) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| style | [Style](../style/) |  |


