This method has been deprecated, as it is not the most efficient way to edit Row properties. Instead, use the Worksheet.GetRowProperties(Int32) method to return the RowProperties object of the desired row.

Returns an Area object representing all the cells in a specified group of rows. An area is a rectangular collection of cells.

 public Area CreateAreaOfRows(int firstRow, int numRows)
Public Function CreateAreaOfRows(ByVal firstRow As Integer, ByVal numRows As Integer) As Area

The 0-based index of the first row.

The number of rows to include.

An Area object representing the set of cells in the specified rows.

Area a = ws.CreateAreaOfRows(0, 25);
Dim a As Area = ws.CreateAreaOfRows(0, 25)