On May 26, 2010, at 8:55 PM, 1T3XT info wrote: > That's explained in the book. > > A page = a page content stream + resources > > When you get a PdfTemplate (containing the content stream), > the resources are already copied to the writer. > The PdfTemplate only keeps a reference to those resources (so > that you don't have to keep MBs of images and fonts in memory).
So, what would a method look like that takes a PdfReader object and an int for the page number, and returns back a PdfTemplate object? Or is that not possible since a PdfTemplate needs a PdfWriter object? (In which case, is that not a kind of circular dependency in the design?) -- Thomas Hauk Shaggy Frog Software www.shaggyfrog.com ------------------------------------------------------------------------------ _______________________________________________ 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/
