Quoting Mark Goking <[EMAIL PROTECTED]>: > > Sorry I wasn�t able to include this in my previous email. > > The HeaderFooter class can display something like this, 1. can it show > something like 1 of 5 and so on. and is it possible to change the size > of 1? I checked the api and there seems to be no way to change it.
That's because you need a PdfTemplate to do this. At the moment you are writing the Header, the total number of pages is not know yet (each page is flushed to the OutputStream as soon as possible, i.e. as soon as a newPage is triggered). So what people do, is add a PDF XObject of a certain size (empty) and add the data (number of pages) afterwards. So, if you want this kind of functionality in your XML application, you should do it with PageEvents as described in Chapter 12. Bruno ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
