Doesn't it work with page events? See
http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.php. It
should be trivial to convert to C# or VB.
Paulo
> -----Original Message-----
> From: oggieone [mailto:[email protected]]
> Sent: Monday, May 04, 2009 3:46 PM
> To: [email protected]
> Subject: [iText-questions] PageEvents in VB - Headers and Footers.
>
>
> What is the best way to add headers and footers with iText in VB?
> I tried this without any success (from a sample on the web).
>
> Dim footer As HeaderFooter = new HeaderFooter(new
> Phrase("This is page: "),
> true)
> footer.setBorder( 1 )
> document.Footer = footer
>
> Nothing shows up. I even set all the margins to 0's to see if
> it was burried
> somewhere.
>
> I know how to do it in Java but I find myself stuck having to
> do this in VB.
>
> Thanks in advance.
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.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
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/