Kumar Jalaj wrote: > Hello, > I want to add content in the onStartPage() PdfPageEvent method. > This content I want to use it as the header of the document, but in book its > written that not to add any content in this event, not even header and > footer. > will it create some kind of problem.
Why do you need to ad the header in onStartPage? It doesn't matter, does it? You can as well add the header in onEndPage. Unless you want to use document.add(). If you try that, you'll experience all kinds of problems. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
