I am trying to read tables from word document, and got some question about how to get the height of a cell and width of span of a merged table cell.
See attached word document:
I noticed that from below method I can get the width of a table cell:
But I did not find any method to get the height of the cells.
The impact to me is I can not judge the width span of a cell in vertical direction. for example, in the sample.doc:
I can get the width of cell2,5, cell 2,6 and cell 3,6, I can judge that cell width span of 2.5 is cell 2,6 and cell3,6, since I can get the width of each cell, so I can calculate that width of cell 2,5 = cell 2,6 + cell 3,6
But in Vertical direction, for example, cell 0,1 and cell 0,2/cell1,2, I can not get the height of them , so I have no idea for how to the the height span of cell 0,1
Any ideas? or any other approach can achieve this?
Tonysample.zip (135.2 KB)