[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.RangeReference.ToRelative

ToRelative Method

ToRelative(int, int)

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.

Declaration
public RangeReference ToRelative(int contextRow, int contextColumn)
Public Function ToRelative(contextRow As Integer, contextColumn As Integer) As RangeReference
Parameters
Type Name Description
int contextRow

An integer indicates the row index of context cell.

int contextColumn

An integer indicates the column index of context cell.

Returns
Type Description
RangeReference