HeaderFooter-object is a LwgRectangle with text that can be put above and/or below every page. Example:
HeaderFooter header = new HeaderFooter(new Phrase("This is a header."), false); HeaderFooter footer = new HeaderFooter(new Phrase("This is page "), new Phrase(".")); document.setHeader(header); document.setFooter(footer);
| |
| |
| |
| |