title: SetAbsolutePosition starts at bottom?
body: <p>I'm creating a PDF, and I add an image to it. </p>
  
  <p>The image is 256x256 pixels, there's nothing special about it.</p>
  
  <p>I set its position by</p>
  
  <pre><code>nImg.SetAbsolutePosition(30, 30)
  </code></pre>
  
  <p>However, the image seems to be placed at the bottom of the page.</p>
  
  <p>The PDF looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/fhHhB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fhHhB.png" alt="enter image description here"></a></p>
  
  <p>I expected it to be placed on the top left corner when I call SetAbsolutePosition(30, 30).</p>
  
  <p>What might be going on here?</p>
  
  <p>This is the full code:</p>
  
  <pre><code>       Dim nFs As System.IO.FileStream = New FileStream(sThis, FileMode.Create)
  
          Dim nDocument As Document = New Document(PageSize.A4, 25, 25, 25, 25)
          Dim nWriter As PdfWriter = PdfWriter.GetInstance(nDocument, nFs)
          nDocument.Open()
  
          Dim nCb As PdfContentByte = nWriter.DirectContent
          Dim nImg As iTextSharp.text.Image = iTextSharp.text.Image.GetInstance("d:\myimage.png")
  
          nImg.SetAbsolutePosition(30, 30)
          nCb.AddImage(nImg)
  
          nDocument.Close()
          nWriter.Close()
  
          nFs.Close()
  </code></pre>