---
title: "PivotArea Constructor"
url: "https://reference.aspose.com/cells/go-cpp/pivotarea/newpivotarea/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "PivotArea constructor. Encapsulates the function that represents newpivotarea in Go."
---


## NewPivotArea function

Presents the selected area of the PivotTable.

```go

func NewPivotArea(table *PivotTable) ( *PivotArea, error)

```

## Remarks


## See Also

* Class [PivotArea](../)
* Library [Aspose.Cells for Go](../../)
