Version

GetCellsInColumns Method

Gets the cells in the specified columns.
Syntax
'Declaration
 
Public Function GetCellsInColumns( _
   ByVal columnIndex As Integer, _
   ByVal columnCount As Integer, _
   ByVal includeMergedCells As Boolean _
) As IEnumerable(Of TableCellNode)
public IEnumerable<TableCellNode> GetCellsInColumns( 
   int columnIndex,
   int columnCount,
   bool includeMergedCells
)

Parameters

columnIndex
Start column's zero-based index.
columnCount
Number of columns.
includeMergedCells
Whether to include merged cells that span across the specified columns. Note that any merged cell that begins at one of the columns in the column range will always be included regardless of this parameter's value.

Return Value

Cells in the specified columns.
Remarks

If the number of columns in the table are less than specified by the columnIndex and the columnCount parameters then this method returns cells in columns 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