title: I Text Sharp how to repeat header and footer
body: <p>how to repeat report header and footer in everypage by itextsharp using PageEvent? I found the report header is not repeat if we add </p>
  
  <pre><code>pdfWriter.PageEvent = new MarginalHelper();
  
  
   public class MarginalHelper: PdfPageEventHelper
  {
      public override void OnStartPage(PdfWriter pdfWriter, Document document)
      {
          new HeaderInformation(pdfWriter);
      }
  
      public override void OnEndPage(PdfWriter pdfWriter, Document doc)
      {
  
  
          ReportFooter(pdfWriter.DirectContent);
      }}
  </code></pre>
  
  <p>Header wont appear in the first page. Anyone know a solution for this?  i do not want to use a table for headers . </p>