[]
Specifies whether a top 10 conditional formatting rule evaluates the highest values or the lowest values in a series.
Use this enumeration with ITop10 to control whether ranking is evaluated from the top or from the bottom of the applied range.
public enum TopBottom
Public Enum TopBottom
worksheet.Range["A1:A5"].Value = new object[,] {{10}, {30}, {20}, {50}, {40}};
ITop10 top10 = worksheet.Range["A1:A5"].FormatConditions.AddTop10();
top10.Interior.Color = Color.Yellow;
top10.Rank = 2;
top10.TopBottom = TopBottom.Bottom;
| Name | Description |
|---|---|
| Bottom | Specifies the bottom values. |
| Top | Specifies the top values. |