/// <summary> /// Gets a list of all the cell values in the specified row /// </summary> /// <param name="row">The row index</param> /// <returns>An enumerable of objects representing the values of cells in the row</returns> public IEnumerable <object> Row(int row) { var topLeft = new CellRef(row, MinColumnNumber); var bottomRight = new CellRef(row, MaxColumnNumber); return(this[topLeft.ToString(), bottomRight.ToString()]); }
/// <summary> /// Gets a list of all the cell values at the specified ordinal column index. /// </summary> /// <param name="column">The column index </param> /// <returns>An enumerable of objects representing the values of cells in the column</returns> public IEnumerable <object> Column(int column) { var topLeft = new CellRef(MinRow, column); var bottomRight = new CellRef(MaxRow, column); return(this[topLeft.ToString(), bottomRight.ToString()]); }