## PivotField::GetAutoShowField method


Represents auto show field index. -1 means [PivotField](../) itself. It should be the index of the data fields.


>Deprecated
>
>Use PivotField.Top10AutoShowSettings.RankBy property or PivotField.Top10AutoShow() method instead. 
```cpp
int32_t Aspose::Cells::Pivot::PivotField::GetAutoShowField()
```

## Remarks


NOTE: This property is now obsolete. Instead, please use PivotField.Top10AutoShowSettings.RankBy property or [PivotField.Top10AutoShow()](../top10autoshow/) method instead. This method will be removed 12 months later since September 2026. **Aspose** apologizes for any inconvenience you may have experienced. 


## See Also

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