Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CfValue Structure / FromPrimitiveValue Method / FromPrimitiveValue(Double,CfValueType) Method
A double value indicates the numeric value.


In This Topic
    FromPrimitiveValue(Double,CfValueType) Method
    In This Topic
    Create a conditional formatting value using the specified numeric value.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromPrimitiveValue( _
       ByVal value As Double, _
       Optional ByVal type As CfValueType _
    ) As CfValue
    'Usage
     
    
    Dim value As Double
    Dim type As CfValueType
    Dim value As CfValue
     
    value = CfValue.FromPrimitiveValue(value, type)
    public static CfValue FromPrimitiveValue( 
       double value,
       CfValueType type
    )

    Parameters

    value
    A double value indicates the numeric value.
    type

    Return Value

    A CfValue value represents the conditional formatting value.
    See Also