Tommy,
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()
sec1.Paragraphs.Add(tab1)
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”)
row1.Cells.Add()
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.
Tommy,
Upgrading from 2.8.2.0 to 2.9.0.0 solved the problem. However, I
ran into 4 more bugs after upgrading. See the separate forum
thread.
Thanks, Natan.
These bugs have been fixed. Please refer to http://www.aspose.com/Community/Forums/39171/ShowPost.aspx
.