On 6/03/2013 19:44, TIZIANA wrote: > Im sorry: > > here is my function that generates the pdf file:
Either explain why you think the following lines are necessary, or remove them: cb.BeginText(); cb.SetFontAndSize(fuente, 20); cb.SetColorFill(iTextSharp.text.BaseColor.BLACK); cb.EndText(); AFAIK these lines don't make any sense in your code. I have no idea why you're adding them. They cause serious syntax problems in combination with the table you're adding: - graphic state operators drawing the borders of the table are illegal inside a text block. - the text in the table generates text blocks that are nested inside your text block. ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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