Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / GrapeCity.Spreadsheet.DataVisualization Namespace / InputFormulaForm Class / ColorConvert Method
A GrapeCity.Spreadsheet.Workbook object which contains color settings.
A range to indicates the row/column index of the context cell.
The expression to evaluate.
The evaluation context to get value.


In This Topic
    ColorConvert Method
    In This Topic
    Converts to the GrapeCity.Spreadsheet.Color value from the specified expression.
    Syntax
    'Declaration
     
    
    Protected Function ColorConvert( _
       ByVal workbook As Workbook, _
       ByVal range As IRange, _
       ByVal expression As Expression, _
       ByVal context As IEvaluationContext _
    ) As Color
    'Usage
     
    
    Dim instance As InputFormulaForm
    Dim workbook As Workbook
    Dim range As IRange
    Dim expression As Expression
    Dim context As IEvaluationContext
    Dim value As Color
     
    value = instance.ColorConvert(workbook, range, expression, context)

    Parameters

    workbook
    A GrapeCity.Spreadsheet.Workbook object which contains color settings.
    range
    A range to indicates the row/column index of the context cell.
    expression
    The expression to evaluate.
    context
    The evaluation context to get value.

    Return Value

    See Also