Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CfValue Structure / FromFormula Method
A string value indicates the formula text.
The formula engine.


In This Topic
FromFormula Method
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)

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