title: How to automatically adjust height/width on PDF export
body: <p>Following the documentation, that's what I've tried so far: </p>
  
  <pre><code>&lt;kendo-grid-pdf fileName="{{lbl_FundsGridPdfFile}}" [allPages]="true" paperSize="A4" [repeatHeaders]="true" [landscape]="true"&gt;
              &lt;kendo-grid-pdf-margin top="2cm" left="1cm" right="1cm" bottom="2cm"&gt;&lt;/kendo-grid-pdf-margin&gt;
              &lt;ng-template kendoGridPDFTemplate let-pageNum="pageNum" let-totalPages="totalPages"&gt;
                   &lt;div class="page-template"&gt;
                       &lt;div class="header"&gt;
                       &lt;div class="rightFloat"&gt;Page {{ pageNum }} of {{ totalPages }}&lt;/div&gt;
                               Multi-page grid with automatic page breaking
                       &lt;/div&gt;
                       &lt;div class="footer"&gt;
                               Page {{ pageNum }} of {{ totalPages }}
                       &lt;/div&gt;
                   &lt;/div&gt;
              &lt;/ng-template&gt;
  &lt;/kendo-grid-pdf&gt;
  </code></pre>
  
  <p>The pdf result is:</p>
  
  <p><a href="https://i.stack.imgur.com/Bifev.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bifev.png" alt="Pdf"></a></p>
  
  <p>How can the height/width be adjusted in order not to miss any useful info?</p>