asposecells.api

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.

Constructor Summary
 
Property Getters/Setters Summary
methodisBottom()
method
setBottom(value)
           Get or set the flag indicating whether a "top/bottom n" rule is a "bottom n" rule. '1' indicates 'bottom'. Default value is false.
methodisPercent()
method
setPercent(value)
           Get or set the flag indicating whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false.
methodgetRank()
method
setRank(value)
           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.
 

    • Constructor Detail

      • Top10

        Top10()
    • Property Getters/Setters Detail

      • isPercent/setPercent : boolean 

        boolean isPercent() / setPercent(value)
        
        Get or set the flag indicating whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false.
      • isBottom/setBottom : boolean 

        boolean isBottom() / setBottom(value)
        
        Get or set the flag indicating whether a "top/bottom n" rule is a "bottom n" rule. '1' indicates 'bottom'. Default value is false.
      • getRank/setRank : int 

        int getRank() / setRank(value)
        
        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.