-----Original Message-----
From: Arno van der Kolk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 4:07 AM
To: 'Dayanand V'; '[EMAIL PROTECTED]'
Subject: RE: [iText-questions] PageNumber ( in footer ) FONTI use this code, which I think does the trick:
//------------------------------------------------------------
BaseFont baseFont = BaseFont.createFont(BaseFont.HELVETICA,
BaseFont.CP1252, BaseFont.NOT_EMBEDDED)
Font font = new Font(baseFont);
font.setSize(8f);
HeaderFooter footer = new HeaderFooter(
new Phrase("Page ", font),
new Phrase(" of X" + "\r\n" + "PDF doc", font)
);
footer.setBorder(Rectangle.TOP);
footer.setAlignment(HeaderFooter.ALIGN_RIGHT);document.setFooter(footer);
//-----------------------------------------------------------------Original Message-----
From: Dayanand V [mailto:[EMAIL PROTECTED]]
Sent: woensdag 24 juli 2002 13:01
To: Arno van der Kolk
Subject: RE: [iText-questions] PageNumber ( in footer ) FONT
Hi
I want to display Page numbers in the footer.
I could achieve it.
But i want to display the PageNumber in different
font, not the default.
Let say "Verdana",10. How can i do it?
thanks a lot
Dayanand.V
--- Arno van der Kolk <[EMAIL PROTECTED]> wrote:
> What code do you have so far, that doesn't work?
>
> -----Original Message-----
> From: Dayanand V [mailto:[EMAIL PROTECTED]]
> Sent: woensdag 24 juli 2002 12:42
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] PageNumber ( in footer )
> FONT
>
>
> Hello Friends ,
> Using iText for PDF generation,
> I'm unable to change font of PageNumber displayed by
>
> HeaderFooter class.
> Can anybody help me how to do this?
>
> Thanks in advance
> Dayanand.V
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
>
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
Title: RE: [iText-questions] PageNumber ( in footer ) FONT
Now,
how can this footer be modified so that it also includes additional text that is
LEFT aligned while just the page number is RIGHT aligned. I want to be
able to include text regarding the document title, author, etc, but it doesn't
seem possible to have the footer configured in such a way.
- [iText-questions] PageNumber ( in footer ) FONT Dayanand V
- RE: [iText-questions] PageNumber ( in footer ) FONT Arno van der Kolk
- RE: [iText-questions] PageNumber ( in footer ) FONT Dang Nguyen
- RE: [iText-questions] PageNumber ( in footer ) FONT Paulo Soares