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


## GetAxisType function

Gets and sets the region of the PivotTable to which this rule applies.

```go

func (instance *PivotArea) GetAxisType()  (PivotFieldType,  error) 

```

## Remarks


## See Also

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