Section/Chapters and memory 2007-12-02 - By Bruno Lowagie
Back Hello all, in attachment you can find a standalone example with a series of tests. This code will only work with the iText version in the SVN repository. Six PDF files are generated: 2 with Chapters/Sections 2 with a PdfPTable 2 with a Tabe Of each pair, one was generated 'the traditional way'; the other using the new memory management functionality introduced with the LargeElement interface. The output of both methods should be indentical, but the difference in memory usage is huge! Note that this functionality probably needs more testing. br, Bruno
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|