Empty Table Cells Exaggerate Cell Padding



I’ve noticed that cell padding is exaggerated for some fonts when a
table row contains an empty cell. In the following example, the
bottom padding is doubled when an empty cell is present. Remove
the empty cell and the bottom padding is reduced but still present.

Dim tab1 As Table = New Table()


tab1.ColumnWidths = “100 100 100 100”

tab1.DefaultCellTextInfo = New TextInfo()

tab1.DefaultCellTextInfo.FontName = “arial”

tab1.DefaultCellTextInfo.FontSize = 10

tab1.DefaultCellBorder = New BorderInfo(BorderSide.All)

Dim row1 As Row = tab1.Rows.Add()

row1.Cells.Add(“1st cell”)

row1.Cells.Add(“2nd cell”)

row1.Cells.Add(“3rd cell”)


We have a few reports where both the top and bottom padding is exaggerated. Can you help?

Thanks, Natan.


Dear Natan,

I hope I can solve this problem before next monday.


Dear Natan,

Sorry I still need several days to solve the problems you reported. Thanks for your patience.


Hi Natan,

I have tesed this issue with your code and can't reproduce this error. The resulting pdf is attached.



Upgrading from to solved the problem. However, I
ran into 4 more bugs after upgrading. See the separate forum

Thanks, Natan.


These bugs have been fixed. Please refer to http://www.aspose.com/Community/Forums/39171/ShowPost.aspx.