title: add header, footer and Background color to pdf cells in iTextSharp
body: <p>im using iTextSharp for PDF Doc creater. i want to add header which is a text and a line below it and then the table to appear. the footer should contain the page number at the bottom right. im able to create the table but the header and footer seems to be an issue. can someone give an example code to solve this issue. also i want to color the header columns in the table i.e the heading columns of only the first row to have a background color. im new to this so please help me out. thanks in advance.</p>