I have a PdfPTable width 100% with two columns. In the left col I have a
PdfPTable with several rows of information. On the right col I have a
PdfPTable with a few rows of information, but this table is shorted than the
left table.
I set the right table like this:
Dim table As PdfPTable = New PdfPTable(widths)
table.TotalWidth = 216
table.LockedWidth = True
table.ExtendLastRow = False
table.HorizontalAlignment = Element.ALIGN_RIGHT
table.DefaultCell.BorderColor = colorNavy
table.DefaultCell.BorderWidth = 1
table.DefaultCell.BorderWidthTop = 0
table.DefaultCell.Padding = 3
..and then add the rows.
The resulting table DOES fill the entire height of the cell so the bottom
row is much too large. This is not what I am expecting per pg 174 of the
book. What am I not understanding?
Rick
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/