## PivotArea::SelectField(PivotFieldType, const U16String\&) method


Select a field in the region as an area.

```cpp
void Aspose::Cells::Pivot::PivotArea::SelectField(PivotFieldType axisType, const U16String &fieldName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| axisType | PivotFieldType | The region type. |
| fieldName | const U16String\& | The name of pivot field. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [PivotFieldType](../../pivotfieldtype/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [PivotArea](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
## PivotArea::SelectField(PivotFieldType, const char16_t*) method


Select a field in the region as an area.

```cpp
void Aspose::Cells::Pivot::PivotArea::SelectField(PivotFieldType axisType, const char16_t *fieldName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| axisType | PivotFieldType | The region type. |
| fieldName | const char16_t* | The name of pivot field. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [PivotFieldType](../../pivotfieldtype/)
* Class [PivotArea](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
## PivotArea::SelectField(PivotFieldType, const PivotField\&) method


Select a field in the region as an area.

```cpp
void Aspose::Cells::Pivot::PivotArea::SelectField(PivotFieldType axisType, const PivotField &field)
```


| Parameter | Type | Description |
| --- | --- | --- |
| axisType | PivotFieldType | The region type. |
| field | const PivotField\& | The pivot field. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [PivotFieldType](../../pivotfieldtype/)
* Class [PivotField](../../pivotfield/)
* Class [PivotArea](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
