Barbarino, Frank P (IS) wrote:
> I’ve tried many variations to get a header to appear and have been 
> unsuccessful.
> 
> Have I missed something?

Yes.

The method addHeader() dates from the time iText was able to create 
HTML, PDF and RTF at the same time. In HTML, it added an entry to the 
<head> section of the HTML page, as opposed to the <body> section.

If you look at the API documentation, you'll see that Header extends 
Meta. In other words, you're adding metadata, you're not adding 
something to a page that is "visible".

> Also, is there a way to set a footer for each page?

Please read chapter 5 of the 2nd edition of iText in Action.
http://itextpdf.com/book/
You'll need that book!
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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