Version

GetCellsInRows Method

Gets cells in the specified rows.
Syntax
'Declaration
 
Public Function GetCellsInRows( _
   ByVal rowIndex As Integer, _
   ByVal rowCount As Integer, _
   ByVal includeMergedCells As Boolean _
) As IEnumerable(Of TableCellNode)
public IEnumerable<TableCellNode> GetCellsInRows( 
   int rowIndex,
   int rowCount,
   bool includeMergedCells
)

Parameters

rowIndex
Row's zero-based index.
rowCount
Number of rows starting from rowIndex.
includeMergedCells
Whether to include merged cells that span across this row. Note that any merged cell that begins at this row will always be included regardless of this parameter's value.

Return Value

Cells in the specified rows.
Remarks

If the number of rows in the table are less than specified by the rowIndex and the rowCount parameters then this method returns cells in rows that do exist in the range indicated by the parameters. The method does not raise an exception in such a case.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also