How to get the page number, header and footer in pdf file using iTextSharp in asp.net using C# RRS feed

  • Question

  • User-1579656392 posted



    I have been trying to use iTextSharp to pull my data into the pdf format using C# for asp.net. Well I am able to do that but I need to show the page number, header and footer in each page which I am unable to do. Well I found some examples related to that which used HeaderFooter methods for header and footer texts but I do not know how to use it in iTextSharp. When i try to use them, it gives error saying its not defined in iTextSharp.


    Please help me soon as possible. Its urgent. 

    Monday, August 30, 2010 10:32 PM

All replies

  • User-821857111 posted

    This article shows how: http://www.jlion.com/docs/itextsharp.aspx

    Tuesday, August 31, 2010 1:32 AM
  • User-1579656392 posted

    Thanks for the reply. I already went through this post before I post  my issue. I  didn't understand that. I want it in C#.net and if possible in simpler way.

    Tuesday, August 31, 2010 7:47 AM
  • User-1579656392 posted

    I even had tried implementing that concept in C# but gave errors in PDFEvent and oStatementNode. Can you please help me ?  

    Tuesday, August 31, 2010 10:37 AM