title: how to convert my html div to canvas without using html2canvas?
body: <p>i need to convert my html div to canvas and i am using html2canvas right now
  but it only captures the visible part of the window. i mean to say it is not capture the whole dive which has horizontal scroll.</p>
  
  <p>So is there any way to capture whole div with horizontal scroll or any suggestion in html2canvas for the same.</p>
  
  <p>here is the code i used</p>
  
  <pre><code>var element = document.getElementsByClassName('ppm_portlet_data');
  
      html2canvas(element[0], { width: element[0].offsetWidth, height: element[0].offsetHeight }).then(function (canvas) {
              console.log(canvas.toDataURL());
              Canvas2Image.saveAsPNG(canvas);
              console.log(canvas.width, canvas.height);
           });
  </code></pre>