title: Create mixed orientation PDF in iTextSharp
body: <p>I am merging PDF buffers using this code at <a href="http://web.archive.org/web/20111012184438/http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html" rel="nofollow">http://web.archive.org/web/20111012184438/http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html</a> <a href="http://pastebin.com/L1xbd1SZ" rel="nofollow">[Mirror]</a></p>
  
  <p>My PDFs have mixed page orientation, some are portrait and some are landscape (but all are A4)</p>
  
  <p>The code does not maintain the orientation of each page and uses the orientation of the first page throughout the document. How do I go about creating a mixed orientation PDF using this code.</p>