## PivotField::SetAutoShowCount method


Represent the number of top or bottom items that are automatically shown in the specified [PivotTable](../../pivottable/) field.


>Deprecated
>
>Use PivotField.Top10AutoShowSettings.AutoShowCount property or PivotField.Top10AutoShow() method instead. 
```cpp
void Aspose::Cells::Pivot::PivotField::SetAutoShowCount(int32_t value)
```

## Remarks


NOTE: This property is now obsolete. Instead, please use PivotField.Top10AutoShowSettings.AutoShowCount 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++](../../../)
