title: Adding a new page in PDF using itext 7
body: <p>I'm trying to create a PDF Document using iText 7 with below code and my PDF documents contents are overlapping in same page when generated.(i.e in Page 1).</p>
  
  <p>I see the </p>
  
  <blockquote>
    <p>document.newPage();</p>
  </blockquote>
  
  <p>method is missing in iText 7. How can i add pages to my PDF document without using pdfDocumet.copyPages(...) or PDFmerger in itext 7.</p>
  
  <pre><code>        PdfDocument pdfDoc = new PdfDocument(new PdfWriter(dest));      
          pdfDoc.addNewPage();
          Document PageOnedocument = new Document(pdfDoc,PageSize.A4);            
          addPageOneContents(PageOnedocument);  
  
  
          pdfDoc.addNewPage();
          Document PageTwodocument = new Document(pdfDoc,PageSize.A4);            
          addPageTwoContents(PageTwodocument);  
  
          pdfDoc.close();
          PageOnedocument.close();
          PageTwodocument.close();
  </code></pre>