title: Itext - a5 page size is the vertical half of a4
body: <p>i'm trying to create a pdf that must be on a5 format ( the horizontal half on an a4 )</p>
  
  <p>like <a href="https://en.wikipedia.org/w/index.php?title=File:A_size_illustration2.svg&amp;page=1" rel="nofollow noreferrer">wikipedia source</a> i need that my page size must be equals to the horizontal half of a4 but using this:</p>
  
  <pre><code>Document document = new Document(PageSize.A5, 10, 10, 10, 10);
  </code></pre>
  
  <p>it creates me this:</p>
  
  <p><img src="https://i.stack.imgur.com/vatNI.png" alt="enter image description here"></p>
  
  <p>But i need this:</p>
  
  <p><img src="https://i.stack.imgur.com/fff3Q.png" alt="enter image description here"></p>
  
  <p>(With all table inside rotated )</p>
  
  <p>How can i fix? can someone help me? thanks!!!</p>