## PivotTableCreateOptions class


Options for creating a new [PivotTable](../pivottable/).

```cpp
class PivotTableCreateOptions
```

## Methods

| Method | Description |
| --- | --- |
| [GetTableName()](./gettablename/) | Gets or sets the name of the new [PivotTable](../pivottable/) report. |
| [GetUseSameSource()](./getusesamesource/) | Gets or sets a value indicating whether to share the same data source with existing pivot tables. Default value is true. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| [IsXlsClassic()](./isxlsclassic/) | Gets or sets a value indicating whether to create classic Excel 97-2003 style [PivotTable](../pivottable/). |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const PivotTableCreateOptions\& src)](./operator_asm/) | operator= |
| [PivotTableCreateOptions()](./pivottablecreateoptions/) | Default constructor. |
| [PivotTableCreateOptions(PivotTableCreateOptions_Impl* impl)](./pivottablecreateoptions/) | Constructs from an implementation object. |
| [PivotTableCreateOptions(const PivotTableCreateOptions\& src)](./pivottablecreateoptions/) | Copy constructor. |
| [SetIsXlsClassic(bool value)](./setisxlsclassic/) | Gets or sets a value indicating whether to create classic Excel 97-2003 style [PivotTable](../pivottable/). |
| [SetTableName(const U16String\& value)](./settablename/) | Gets or sets the name of the new [PivotTable](../pivottable/) report. |
| [SetTableName(const char16_t* value)](./settablename/) | Gets or sets the name of the new [PivotTable](../pivottable/) report. |
| [SetUseSameSource(bool value)](./setusesamesource/) | Gets or sets a value indicating whether to share the same data source with existing pivot tables. Default value is true. |
| [~PivotTableCreateOptions()](./~pivottablecreateoptions/) | Destructor. |
## Fields

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

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