## PivotTableFormatCollection class


Represents the collection of formats applied to [PivotTable](../pivottable/).

```cpp
class PivotTableFormatCollection
```

## Methods

| Method | Description |
| --- | --- |
| [Add()](./add/) | Add a [PivotTableFormat](../pivottableformat/). |
| [begin()](./begin/) | Returns an iterator to the beginning of the [PivotTableFormatCollection](./). |
| [end()](./end/) | Returns an iterator to the end of the [PivotTableFormatCollection](./). |
| [FormatArea(PivotFieldType axisType, int32_t fieldPosition, PivotFieldSubtotalType subtotalType, PivotTableSelectionType selectionType, bool isGrandRow, bool isGrandColumn, const Style\& style)](./formatarea/) | Formats selected area. |
| [Get(int32_t index)](./get/) | Gets the format by the index. |
| [GetCount()](./getcount/) | Gets the number of elements contained in the instance. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const PivotTableFormatCollection\& src)](./operator_asm/) | operator= |
| [PivotTableFormatCollection(PivotTableFormatCollection_Impl* impl)](./pivottableformatcollection/) | Constructs from an implementation object. |
| [PivotTableFormatCollection(const PivotTableFormatCollection\& src)](./pivottableformatcollection/) | Copy constructor. |
| [~PivotTableFormatCollection()](./~pivottableformatcollection/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells::Pivot](../)
* Library [Aspose.Cells for C++](../../)
