title: How to make the table non breaking using iTextSharp
body: <p>I am having a table  </p>
  
  <pre><code>  PdfPTable tblSummary = new PdfPTable(1);  
  </code></pre>
  
  <p>And it does have 2 tables nested within it. How can I make the <code>tblSummary</code> to appear as a whole (the rows must not break to another page) or entire table be shifted to another page if it doesn't fits in the current page.</p>
  
  <p>I have tried <code>SplitLate</code> and <code>SplitRows</code></p>
  
  <p>And my code is like this</p>
  
  <pre><code>PdfPTable tblSummary = new PdfPTable(1);
  PdfPCell csummarycell = new PdfPCell();  
  PdfPTable tblSummaryFirst = new PdfPTable(3);
  .
  .
  csummarycell.AddElement(tblSummaryFirst);
  .
  .
  tblSummary.AddCell(csummarycell);
  tblSummary.SplitLate = true;
  tblSummary.SplitRows = false;
  </code></pre>
  
  <p>like this I add up one more table(s) to the tblSummary while the resulting table height is always less than that of pagesize so there is certainty that the table's content won't be more than the page height.</p>
  
  <p>Any suggestions would be really helping.</p>