Max Method (CalculationEngine)
Gets MAX of the specified range.
'Declaration
Public Shared Function Max( _
ByVal As IEvaluationContext, _
ByVal As IReferenceSource, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer _
) As Double
'Usage
Dim context As IEvaluationContext
Dim source As IReferenceSource
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim value As Double
value = CalculationEngine.Max(context, source, row, column, row2, column2)
Parameters
- context
- source
- row
- An integer value indicates the top row index of cell range.
- column
- An integer value indicates the left column index of cell range.
- row2
- An integer value indicates the bottom row index of cell range.
- column2
- An integer value indicates the right column index of cell range.
Return Value
The total summary of the specified cell range.