Hi,
I am iterating through tableblock.cells ITableCell object and trying to use Split method of the cell. The cell has 10 paragraphs in it and i want to split each paragraph into a new cell.
tableBlock.Cells.Split(tableBlock.Cells.Item(cellIndex).Block.Region.BoundingRectangle.Left,
tableBlock.Cells.Item(cellIndex).Block.Region.BoundingRectangle.Top,
tableBlock.Cells.Item(cellIndex).Block.Region.BoundingRectangle.Right,
tableBlock.Cells.Item(cellIndex).Block.Region.BoundingRectangle.Bottom);
Since the split function has to be drawn on rectangle's border, using cells border. I also tried the bottom to be each iteration through paragraphs. but i receive the error message below.
Argument Check Failed. Left >= 0 && Left < right && right <= GetInternal() -> GetParentBlock() -> GetColumnCount().
I verified the first two conditions and they always satisfy but the rest of the conditions in the exception message do not make any sense. Appreciate any help.