Use page events for headers and footers. For changes see http://www.itextpdf.com/history.php.
Paulo ________________________________ From: Lynch, Ross [ross.ly...@irishlife.ie] Sent: Wednesday, April 28, 2010 2:53 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] I textsharp 5.0.1.1 Headerfooter Hi I’m just after changing from Itextsharp 4.1.2 to 5.0.1.1 I was using a lot of tables and Cells which I have now changed to PdfPTable and PdfPCell. However I am still having trouble with HeaderFooter which is no longer in the library either. I was using the headerFooter type to do page numbers. Could anyone tell me what the equivelent to this would be in v5.0.1.1 HeaderFooter footer = new HeaderFooter(new Phrase("Page ", footerfont), true); footer.Border = Rectangle.NO_BORDER; document.Footer = footer; Also is there a reference anywhere of what’s new in v5. Thanks in advance Ross -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. Irish Life Assurance plc is regulated by the Financial Regulator. "Irish Life" is a member of the Irish Life and Permanent plc group. Irish Life Assurance plc is a company registered in Ireland. Registered office is situated at Irish Life Centre, Lower Abbey Street, Dublin 1. Registered Number 152576. ============================================================================== Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/