title: Itextsharp V 5.x:image cell height in pdfptable
body: <p>I am creating table and adding cells to table with text or image content.</p>
  
  <pre><code>var  pdfTable = new PdfPTable(2);
                  nCell = new PdfPCell(new Phrase("A")) {HorizontalAlignment = 1};
                  pdfTable.AddCell(nCell);
                  pdfTable.AddCell("B");
                  pdfTable.AddCell(qrImg);
                  pdfTable.AddCell(image39);
                  pdfTable.AddCell("C");
                  pdfTable.AddCell("D");
                  pdfTable.SpacingBefore = 20f;
                  pdfTable.SpacingAfter = 30f;
                  document.Add(pdfTable);
  </code></pre>
  
  <p>renders 3 rows and displays image in row2 </p>
  
  <p>if I  add cells by creating pdfpcell object first:</p>
  
  <pre><code> var cell = new PdfPCell(qrImg};
   pdfTable.AddCell(nCell);
  </code></pre>
  
  <p>only rows 1 and 3 are visible.</p>
  
  <p>If I add height property to cell then the image gets diaplayed.</p>
  
  <p>my questions ( 3 but related); 
  is it required for us to specify height when adding cell with image (  cells added with text content - phrase resenders correctly) ?
  Is there something I am missing when creating a new cell, which prevents images to be rendered?
  should I always be using Addcell(image) when adding image content?</p>
  
  <p>Thank you all,
  Mar</p>