Use PdfWriter.getPageNumber().

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Cogol Tina [SMTP:[EMAIL PROTECTED]
> Sent: Sunday, October 19, 2003 13:52
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Problem in getPageNumber() method
> 
>  HI,
>  
> I am trying to get the current page number by using the method
> getPageNumber() of Document class. Every time i am  getting the value as 0
> even if the document size is more than one page at that point. How can i
> get the current page number?
>  
> Regards,
> Cogol 
>                       
> ____________________________________________________
>  << File: BackGrnd2.jpg >>
> http://www.incredimail.com/redir.asp?ad_id=309&lang=9>  IncrediMail -
> Email has finally evolved - Click Here
> <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> << File: IMSTP.gif
> >> 


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to