Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IFormatCondition Interface

In This Topic
    IFormatCondition Interface Methods
    In This Topic

    For a list of all members of this type, see IFormatCondition members.

    Public Methods
     NameDescription
     MethodDeletes this conditional format.  
     MethodGenerates the conditional format from the json string.  
     MethodReturns the IRange object that specifies the cell range to which theformatting rule is applied.  
     MethodReturns an instance of IBorders which represents the borders of thisconditional format.  
     MethodGets the TimePeriods Date operator used in the format condition.  
     MethodReturns an instance of IFont which represents the font of thisconditional format.  
     MethodReturns the first formula of this conditional format.  
     MethodReturns the second formula of this conditional format.  
     MethodReturns an instance of IInterior which represents the backgroundcolor of this conditional format.  
     MethodReturns the number format applied to a cell if the conditional formatting rule evaluates to True (read or write object).  
     MethodReturns the operator of this conditional format.  
     MethodReturns the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet.  
     MethodReturns a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.  
     MethodReturns a String value specifying the text used by the conditional formatting rule.  
     MethodReturns one of the constants of the ContainsOperator enumeration,specifying the text search performed by the conditional formatting rule.  
     MethodReturns the type of this conditional format.  
     MethodSets the IRange object that specifies the cell range to which theformatting rule is applied.  
     MethodSets the TimePeriods Date operator used in the format condition.  
     MethodSets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.  
     MethodSets the first formula of this conditional format.  
     MethodSets the second formula of this conditional format.  
     MethodSets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet.  
     MethodSets the number format applied to a cell if the conditional formatting rule evaluates to True (read or write object).  
     MethodSets the operator of this conditional format.  
     MethodSets 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.

     
     MethodSets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.  
     MethodSets a String value specifying the text used by the conditional formatting rule.

    This property is ignored if the Type property is not set to TextString.

     
     MethodSets one of the constants of the ContainsOperator enumeration,specifying the text search performed by the conditional formatting rule.  
     MethodGenerates a json string from the conditional format.  
    Top
    See Also