Spread Windows Forms 18
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IReferenceSource Interface / GetValue Method / GetValue(IEvaluationContext,Int32,Int32,Int32,Int32,IValuesArray,Boolean) Method
An EvaluationContext object indicates the evaluation context.
An integer value indicates the top row index of the 2-dimensions matrix.
An integer value indicates the left column index of the 2-dimensions matrix.
An integer value indicates the bottom row index of the 2-dimensions matrix.
An integer value indicates the right column index of the 2-dimensions matrix.
An IPrimitiveValue object represents the values at the specified range.
Boolean value represents keeping empty values as empty or not.


In This Topic
    GetValue(IEvaluationContext,Int32,Int32,Int32,Int32,IValuesArray,Boolean) Method
    In This Topic
    Gets the values at the specified range of the 2-dimensions matrix.
    Syntax
    'Declaration
     
    
    Overloads Sub GetValue( _
       ByVal context As IEvaluationContext, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByVal result As IValuesArray, _
       Optional ByVal keepEmptyValue As Boolean _
    ) 
    'Usage
     
    
    Dim instance As IReferenceSource
    Dim context As IEvaluationContext
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim result As IValuesArray
    Dim keepEmptyValue As Boolean
     
    instance.GetValue(context, row, column, row2, column2, result, keepEmptyValue)

    Parameters

    context
    An EvaluationContext object indicates the evaluation context.
    row
    An integer value indicates the top row index of the 2-dimensions matrix.
    column
    An integer value indicates the left column index of the 2-dimensions matrix.
    row2
    An integer value indicates the bottom row index of the 2-dimensions matrix.
    column2
    An integer value indicates the right column index of the 2-dimensions matrix.
    result
    An IPrimitiveValue object represents the values at the specified range.
    keepEmptyValue
    Boolean value represents keeping empty values as empty or not.
    See Also