---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/autofiltertop10
---

# AutoFilterTop10

## Overview

`AutoFilterTop10` is a class in Aspose.Cells FOSS for C++.

Represents auto filter top10.

This class declares 11 methods for AutoFilterTop10 objects in C++ programs.
Available methods include: `Clear`, `GetEnabled`, `GetFilterValue`, `GetPercent`, `GetTop`, `GetValue`, `SetEnabled`, `SetFilterValue`, `SetPercent`, `SetTop`, `SetValue`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetEnabled()` → `bool` | Gets or sets a value indicating whether enabled. |
| `SetEnabled(value: bool)` | Sets the enabled value. |
| `GetTop()` → `bool` | Gets or sets a value indicating whether top. |
| `SetTop(value: bool)` | Sets the top value. |
| `GetPercent()` → `bool` | Gets or sets a value indicating whether percent. |
| `SetPercent(value: bool)` | Sets the percent value. |
| `GetValue()` → `std::optional<double>` | Gets or sets the value. |
| `SetValue(value: std::optional<double>)` | Sets the value value. |
| `GetFilterValue()` → `std::optional<double>` | Gets or sets the filter value. |
| `SetFilterValue(value: std::optional<double>)` | Sets the filter value value. |
| `Clear()` | Clears the current state. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)