Version

GetCellsInColumn Method

Gets cells in a column.
Syntax
'Declaration
 
Public Function GetCellsInColumn( _
   ByVal columnIndex As Integer, _
   ByVal includeMergedCells As Boolean _
) As IEnumerable(Of TableCellNode)
public IEnumerable<TableCellNode> GetCellsInColumn( 
   int columnIndex,
   bool includeMergedCells
)

Parameters

columnIndex
Column's zero-based index.
includeMergedCells
Whether to include merged cells that span across this column. Note that any merged cell that begins at this column will always be included regardless of this parameter's value.

Return Value

Cells in the specified column.
Remarks

If the specified column does not exist then this method returns an empty enumerable. 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