Spread WPF 18
GrapeCity.Spreadsheet Namespace / CfValue Structure / FromFormula Method
A string value indicates the formula text.
The formula engine.


In This Topic
    FromFormula Method (CfValue)
    In This Topic
    Create a conditional formatting value using the specified formula.
    Syntax
    'Declaration
     
    Public Shared Function FromFormula( _
       ByVal formula As String, _
       Optional ByVal type As CfValueType, _
       Optional ByVal engine As FormulaEngine _
    ) As CfValue
    'Usage
     
    Dim formula As String
    Dim type As CfValueType
    Dim engine As FormulaEngine
    Dim value As CfValue
     
    value = CfValue.FromFormula(formula, type, engine)
    public static CfValue FromFormula( 
       string formula,
       CfValueType type,
       FormulaEngine engine
    )

    Parameters

    formula
    A string value indicates the formula text.
    type
    engine
    The formula engine.

    Return Value

    A CfValue value represents the conditional formatting value.
    See Also