title: Calculate height of iTextSharp PDF document?
body: <p>How can I calculate the height of the PDF document when using iTextSharp?</p>
  
  <hr>
  
  <p>I'm using iTextSharp to position various images on a PDF document using Absolute Position. However I've noticed <code>SetAbsolutePosition()</code> positions the <code>Y</code> parameter from the bottom, so I need to calculate the height to be able to do something like:</p>
  
  <pre><code>Y = PdfHeight - i
  </code></pre>