public CellReference Offset(String relativeRef) { var newCell = new CellReference(Col, Row); newCell.Move(relativeRef); return(newCell); }
public CellReference Offset(int x, int y) { var newCell = new CellReference(Col, Row); newCell.Move(x, y); return(newCell); }
/// <summary> /// Move the range /// </summary> /// <param name="x">Delta X</param> /// <param name="y">Delta Y</param> public void Move(int x, int y) { _topLeft.Move(x, y); _bottomRight.Move(x, y); }