Exemple #1
0
        public CellReference Offset(String relativeRef)
        {
            var newCell = new CellReference(Col, Row);

            newCell.Move(relativeRef);
            return(newCell);
        }
Exemple #2
0
        public CellReference Offset(int x, int y)
        {
            var newCell = new CellReference(Col, Row);

            newCell.Move(x, y);
            return(newCell);
        }
Exemple #3
0
 /// <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);
 }