[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.CfValue.FromPrimitiveValue

FromPrimitiveValue Method

FromPrimitiveValue(double, CfValueType)

Create a conditional formatting value using the specified numeric value.

Declaration
public static CfValue FromPrimitiveValue(double value, CfValueType type = CfValueType.Numeric)
Public Shared Function FromPrimitiveValue(value As Double, Optional type As CfValueType = CfValueType.Numeric) As CfValue
Parameters
Type Name Description
double value

A double value indicates the numeric value.

CfValueType type
Returns
Type Description
CfValue

A CfValue value represents the conditional formatting value.

FromPrimitiveValue(string)

Create a conditional formatting value using the specified string value.

Declaration
public static CfValue FromPrimitiveValue(string value)
Public Shared Function FromPrimitiveValue(value As String) As CfValue
Parameters
Type Name Description
string value

A double value indicates the string value.

Returns
Type Description
CfValue

A CfValue value represents the conditional formatting value.