first commit
I have used visual studio 2012 to generate this example code.
Please download code and customize as per your requirements. I have used ITextEvents.cs class for the header and footer. It will generate header and footer automatically even pdf contain more thann 1 page.
Keep visting http://www.learnsharecorner.com/
Thanks Mukesh Salaria Software Engineer