Documents for Excel, Java Edition Documentation
com.grapecity.documents.excel Package / IFormatConditions Interface / add Method / add(FormatConditionType,FormatConditionOperator,Object,Object) Method
Specifies the type for the new conditional format.
Specifies the operator of the conditional format.
Specifies the first formula of the conditional format.
Specifies the second formula of the conditional format.
In This Topic
    add(FormatConditionType,FormatConditionOperator,Object,Object) Method
    In This Topic
    Adds a new conditional format.
    Syntax
    java.lang.Object add( 
       FormatConditionType type,
       FormatConditionOperator formatConditionOperator,
       java.lang.Object formula1,
       java.lang.Object formula2
    )

    Parameters

    type
    Specifies the type for the new conditional format.
    formatConditionOperator
    Specifies the operator of the conditional format.
    formula1
    Specifies the first formula of the conditional format.
    formula2
    Specifies the second formula of the conditional format.

    Return Value

    The new conditional format.
    See Also