private void ProcessColumnCells(IColumnCellProcessor cellProcessor) { // set the specified alignment for each cell in the column foreach (IHTMLTableRow row in _table.rows) { if (row.cells.length > Index) { IHTMLTableCell cell = row.cells.item(Index, Index) as IHTMLTableCell; cellProcessor.ProcessCell(cell); } } }