title: jsPDF- html() new function has no feature to set margin to pdf page
body: <p>i am using jsPDF into vue cli application, but i am unable to find any solution to set the margins to the pdf page. all the text and images are getting overflowed on the pages.
  i want to set all the four margins. the syntax to set margins given in the jsPDF documentation is also not working.</p>
  <p>this is my function to generate and download pdf:</p>
  <pre><code>downloadpdf() {
    var pdf = new jsPDF(&quot;p&quot;, &quot;pt&quot;, &quot;a4&quot;);
    pdf.setFontSize(&quot;10&quot;);
    pdf.setLineWidth(&quot;100&quot;);
    pdf.setTextColor(&quot;darkblue&quot;);
  
    // Printing text
    var vuejsinformation = `JQuery is a lightweight, &quot;write less, do more&quot;, JavaScript library.`;
    pdf.text(vuejsinformation, 10, 10);
    //pdf.save(&quot;Sample.pdf&quot;);
  
    // Printing a complete div container who has class pdfrapper
    pdf.html(window.jQuery(&quot;.pdfwrapper&quot;).get(0), {
      callback: function (pdf) {
        pdf.save(&quot;Sample.pdf&quot;);
      },
      x: 10,
      y: 10,
    });
  },
  </code></pre>
  <p>how to set all the four margins ?</p>