Name | Description | |
---|---|---|
delete | Deletes this conditional format. | |
fromJson | Generates the conditional format from the json string. | |
getAppliesTo | Returns the IRange object that specifies the cell range to which theformatting rule is applied. | |
getBorders | Returns an instance of IBorders which represents the borders of thisconditional format. | |
getFont | Returns an instance of IFont which represents the font of thisconditional format. | |
getInterior | Returns an instance of IInterior which represents the backgroundcolor of this conditional format. | |
getNumberFormat | Returns the number format applied to a cell if the conditional formatting rule evaluates to True. | |
getPercent | Returns a Boolean value, specifying if the rank is determined by a percentage value. | |
getPriority | Returns the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet. | |
getRank | Returns an Integer value, specifying either the number or percentage of the rank value for the conditional format rule. | |
getStopIfTrue | Returns a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True. | |
getTopBottom | Returns one of the constants of the TopBottom enumeration,determining if the ranking is evaluated from the top or bottom. | |
getType | Returns the type of this conditional format. | |
setAppliesTo | Sets the IRange object that specifies the cell range to which theformatting rule is applied. | |
setFirstPriority | Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet. | |
setLastPriority | Sets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet. | |
setNumberFormat | Sets the number format applied to a cell if the conditional formatting rule evaluates to True. | |
setPercent | Sets a Boolean value, specifying if the rank is determined by a percentage value. | |
setPriority | Sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet.
When setting the priority, the value must be a positive integer between 1 and the total number of conditional formatting rules on the worksheet. The priority must be a unique value for all rules on the worksheet, so changing the priority for the specified conditional formatting rule may cause the priority value of the other rules on the worksheet to be shifted. | |
setRank | Sets an Integer value, specifying either the number or percentage of the rank value for the conditional format rule. | |
setStopIfTrue | Sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True. | |
setTopBottom | Sets one of the constants of the TopBottom enumeration, determiningif the ranking is evaluated from the top or bottom. | |
toJson | Generates a json string from the conditional format. |