title: How to put an image on top of another image in a PdfPCell (iTextSharp)?
body: <p>I have two images (<code>iTextSharp.text.Image</code>) and I want to place them directly on top of each other in a <code>PdfPCell</code>. One of the images has transparency and should be placed top most. </p>
  
  <p>I have tried the following:</p>
  
  <pre><code>imgOpaque.Alignment = Image.UNDERLYING;
  imgOpaque.SetAbsolutePosition(10f, 10f);
  imgTransparent.SetAbsolutePosition(10f, 10f);
  
  var cell = new PdfPCell();
  cell.AddElement(imgOpaque);
  cell.AddElement(imgTransparent);
  table.AddCell(cell);
  </code></pre>
  
  <p>But this results in the second image being positioned after the first - and not on top.</p>
  
  <p><strong>How do I get the two images on top of each other?</strong></p>
  
  <p><em>iTextSharp version is 5.4.3.</em></p>