I use this code to add a table in a document. All work well but:
In a case 1 the width of the table is conform at the value.
In a case 2 the margin of the table is near 50 and is not possible ti reduce
.
Decause the 2 tables don't have the same width ???
Dim My_Document As New Document(PageSize.A4, 0, 0, 140, 25)
My_Document.Open()
' Case 1
My_Table_Header.TotalWidth = My_Document.Right - My_Document.Left
My_Table_Header.WriteSelectedRows(0, -1, My_Document.Left,
My_Document.PageSize.Height - 20, My_ContentByte_Header)
' Case 2
My_Document.Add(My_Table_Body)
My_Document.Close()
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php