Hi,
I am trying to write a footer using ITextSharp library 5.0.4 and not able to print page number since OnEndPage and OnClosePage are not getting called.
This is a simple console app where I am printing tables to generate couple of pages and expecting OnEndPage or OnClosePage to get called where my code for footer will get executed once document.close() method gets executed.
Please let me know what must be wrong with this ?