Spread Windows Forms 11.0 Product Documentation
ToRelative Method (RangeReference)


GrapeCity.CalcEngine Assembly > GrapeCity.CalcEngine Namespace > RangeReference Structure : ToRelative Method
An integer indicates the row index of context cell.
An integer indicates the column index of context cell.
Returns the target reference of the RangeReference object which relates with the context cell (specified by contextRow and contextColumn. Position state of the RangeReference is unchanged.
Syntax
'Declaration
 
Public Function ToRelative( _
   ByVal contextRow As Integer, _
   ByVal contextColumn As Integer _
) As RangeReference
'Usage
 
Dim instance As RangeReference
Dim contextRow As Integer
Dim contextColumn As Integer
Dim value As RangeReference
 
value = instance.ToRelative(contextRow, contextColumn)
public RangeReference ToRelative( 
   int contextRow,
   int contextColumn
)

Parameters

contextRow
An integer indicates the row index of context cell.
contextColumn
An integer indicates the column index of context cell.
See Also

Reference

RangeReference Structure
RangeReference Members