[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.CellReference.ToRelative

ToRelative Method

ToRelative(int, int)

Returns the target reference of the CellReference object which relates with the context cell (specified by contextRow and contextColumn. Position state of the CellReference is unchanged.

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

An integer value indicates the context row index.

int contextColumn

An integer value indicates the context column index.

Returns
Type Description
CellReference

A CellReference indicates the target location.