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

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

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