## AutoFilter::FilterTop10 method


Filter the top 10 items in the list.

```cpp
void Aspose::Cells::AutoFilter::FilterTop10(int32_t fieldIndex, bool isTop, bool isPercent, int32_t itemCount)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fieldIndex | int32_t | The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). |
| isTop | bool | Indicates whether filter from top or bottom |
| isPercent | bool | Indicates whether the items is percent or count |
| itemCount | int32_t | The item count |

## See Also

* Class [AutoFilter](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
