|
Hi, I am using HeaderFooter class to display header and footer
in my page, but I got one problem i.e I need to display both image and some text
in Header area ,but it is allowing me to add either image or text not both how
to add both ,
Please help me out For reference below is the code Image headerImage = Image.getInstance("tntlogo.gif"); HeaderFooter header = new HeaderFooter(new Phrase(new
Chunk(headerImage, 0, 0)), false); HeaderFooter footer = new HeaderFooter(new Phrase("TNT
Logistics UK Ltd,\nHolly Lane,Atherstone,\nWarwickshire, CV9
2R."+pageNumberSpace), page_numbers); document.setHeader(header); document.setFooter(footer); writer.setPageEvent(new PDFUtils()); Thanks in Advance Srini “The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information and may not be disclosed to anyone else. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to the sender of this email and then delete it from your system. Four Soft is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt”. |
- [iText-questions] Problem with HeaderFooter Srinivas P
