[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.CfValue.FromFormula

FromFormula Method

FromFormula(string, CfValueType, FormulaEngine)

Create a conditional formatting value using the specified formula.

Declaration
public static CfValue FromFormula(string formula, CfValueType type = CfValueType.Formula, FormulaEngine engine = null)
Public Shared Function FromFormula(formula As String, Optional type As CfValueType = CfValueType.Formula, Optional engine As FormulaEngine = Nothing) As CfValue
Parameters
Type Name Description
string formula

A string value indicates the formula text.

CfValueType type
FormulaEngine engine

The formula engine.

Returns
Type Description
CfValue

A CfValue value represents the conditional formatting value.