ftf1960 wrote:
> I have a PDF template that I populate with user data.  Sometimes if there is
> more than one page, then I would add another page to the PDF using the same
> template.  The template size is around 10K.  If I populate this template
> once, the final flattened PDF is around 13K - 23K, but if I add another page
> using the same template, it just bloats up to 56K or beyond (I am expecting
> somewhere between 26K - 46K).

>        copy1 = new PdfCopy(document1, cbaos);

> Is there something obvious that I am missing?

Yes, replace PdfCopy with PdfSmartCopy.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to