diff --git a/ClosedXML/Excel/Ranges/IXLRange.cs b/ClosedXML/Excel/Ranges/IXLRange.cs index 367b83d..62b79cf 100644 --- a/ClosedXML/Excel/Ranges/IXLRange.cs +++ b/ClosedXML/Excel/Ranges/IXLRange.cs @@ -39,8 +39,8 @@ /// /// Gets the specified column of the range. /// - /// The column number. - /// + /// 1-based column number relative to the first column of this range. + /// The relevant column IXLRangeColumn Column(int columnNumber); /// @@ -81,8 +81,8 @@ /// /// Gets a collection of the specified columns in this range. /// - /// The first column to return. - /// The last column to return. + /// The first column to return. 1-based column number relative to the first column of this range. + /// The last column to return. 1-based column number relative to the first column of this range. IXLRangeColumns Columns(int firstColumn, int lastColumn); /// @@ -90,6 +90,7 @@ /// /// The first column to return. /// The last column to return. + /// The relevant columns IXLRangeColumns Columns(string firstColumn, string lastColumn); /// @@ -136,7 +137,8 @@ /// /// Gets the specified row of the range. /// - /// The range row. + /// 1-based row number relative to the first row of this range. + /// The relevant row IXLRangeRow Row(int row); IXLRangeRows Rows(Func predicate = null); @@ -144,8 +146,8 @@ /// /// Gets a collection of the specified rows in this range. /// - /// The first row to return. - /// The last row to return. + /// The first row to return. 1-based row number relative to the first row of this range. + /// The last row to return. 1-based row number relative to the first row of this range. /// IXLRangeRows Rows(int firstRow, int lastRow); diff --git a/ClosedXML/Excel/Tables/IXLTableRange.cs b/ClosedXML/Excel/Tables/IXLTableRange.cs index 5296941..f57237d 100644 --- a/ClosedXML/Excel/Tables/IXLTableRange.cs +++ b/ClosedXML/Excel/Tables/IXLTableRange.cs @@ -23,10 +23,21 @@ IXLTableRow LastRowUsed(Func predicate = null); + /// + /// Rows the specified row. + /// + /// 1-based row number relative to the first row of this range. + /// new IXLTableRow Row(int row); IXLTableRows Rows(Func predicate = null); + /// + /// Returns a subset of the rows + /// + /// The first row to return. 1-based row number relative to the first row of this range. + /// The last row to return. 1-based row number relative to the first row of this range. + /// new IXLTableRows Rows(int firstRow, int lastRow); new IXLTableRows Rows(string rows);