Spread Windows Forms 12.0 Product Documentation
FromFormula Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > CfValue Structure : FromFormula Method
A string value indicates the formula text.
The formula engine.
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

Reference

CfValue Structure
CfValue Members