Look at the page event examples in the tutorial.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of turjabarua
> Sent: Thursday, October 19, 2006 5:35 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] adding an image in the header of a
> pdf document
>
>
> Hi all,
> My problem is as follows. I have a .pdf document and I'm copying it to
> another and then I'm appending some new things to it. Now
> while adding new
> pdf contents I want an image to be added for every new pages
> added to the
> document. I tried using "document.getPageNumber()" and wanted
> to add that
> image everytime the page number increases. But
> "document.getPageNumber()" is
> returning 0 every time.Is there any other way to add that image in the
> header part in in some specific pages of the pdf doument?
> If anyone has the solution please help me out.
> Regards,
> turja
> --
> View this message in context:
> http://www.nabble.com/adding-an-image-in-the-header-of-a-pdf-d
> ocument-tf2471256.html#a6890488
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> dat=121642
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
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.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions