title: How to add Header and Footer in dynamic pdf using iTextLibrary?
body: <p>I have created a <strong>PDF</strong> file <strong>dynamically</strong> using <strong>iText</strong> Library, Now I want to add <strong>Header</strong> and <strong>Footer</strong> in PDF's pages, for this one I have added given code:</p>
  
  <pre><code>document.addHeader("My Header Title", "My Header Details");
  </code></pre>
  
  <p>But in my PDF's pages this header couldn't set. What is issue that I don't know, If you have any idea related to it,please share your thoughts.</p>