title: To know if its a new page in ITEXT pdf
body: <p>I am generating a pdf using itext. So when the content of a page exceeds it creates a new page automatically. I am trying to know if it created a new page. If yes I want to add some image on top of the page.</p>
  
  <pre><code>List paylist =new List(List.ORDERED, List.ALPHABETICAL);
  paylist.setIndentationLeft(10);
  paylist.add(new ListItem("Some text", yourfont));
  document.add(paylist);
  </code></pre>
  
  <p>The content of the list will be dynamic. So I am unable to find whether its a new page it is in the same page. Suggestion please..</p>