title: After the end of footer table appear in same page in itextsharp
body: <p>here is the endofpage event code</p>
  
  <pre><code> public override void OnEndPage(PdfWriter writer, Document document)
          {
  
              iTextSharp.text.pdf.draw.LineSeparator line1 = new iTextSharp.text.pdf.draw.LineSeparator(1f, 100f, BaseColor.CYAN, Element.ALIGN_LEFT, 1);
              document.Add(new Chunk(line1));
  
          }
  </code></pre>