We are using iTextSharp to generate some PDF files presenting big table with a large number of rows (more than 100,000).
It takes quite a long time (more than 25secondes on my Intel i7 2600k). After adding some timers, I realized that most of the time (17seconds) is spend when the PDFPTable is added to the PDFDocument.
I've search a lot about possible optimization (you know, like when on a listview, you call SuspendLayout(), add your rows, then ResumeLayout()) but found nothing. On the iText in Action book, they're only talking about fragmenting table for better memory management. I've tried it but it result in the same time for generation.
Is there something I can do ? 25 secondes is quite a long time.
Regards,