
## Top10 class

Describe the Top10 conditional formatting rule. This conditional formatting rule highlights cells whose values fall in the top N or bottom N bracket, as specified.

```js
new Top10()
```

## Methods

| Name | Description |
| --- | --- |
| [getRank()](#getrank) | Get or set the value of "n" in a "top/bottom n" conditional formatting rule. If IsPercent is true, the value must betwee |
| [isBottom()](#isbottom) | Get or set whether a "top/bottom n" rule is a "bottom n" rule. Default value is false. |
| [isPercent()](#ispercent) | Get or set whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false. |
| [setBottom()](#setbottom) | Get or set whether a "top/bottom n" rule is a "bottom n" rule. Default value is false. |
| [setPercent()](#setpercent) | Get or set whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false. |
| [setRank()](#setrank) | Get or set the value of "n" in a "top/bottom n" conditional formatting rule. If IsPercent is true, the value must betwee |

### getRank() {#getrank}

Get or set the value of "n" in a "top/bottom n" conditional formatting rule. If IsPercent is true, the value must between 0 and 100. Otherwise it must between 0 and 1000. Default value is 10.

### isBottom() {#isbottom}

Get or set whether a "top/bottom n" rule is a "bottom n" rule. Default value is false.

### isPercent() {#ispercent}

Get or set whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false.

### setBottom() {#setbottom}

Get or set whether a "top/bottom n" rule is a "bottom n" rule. Default value is false.

### setPercent() {#setpercent}

Get or set whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false.

### setRank() {#setrank}

Get or set the value of "n" in a "top/bottom n" conditional formatting rule. If IsPercent is true, the value must between 0 and 100. Otherwise it must between 0 and 1000. Default value is 10.
