javascript - convert pdf to img not work (html2canvas) -


hello have plugin works ... when want convert pdf, captures div , not content =/

i'm using html2canvas (https://github.com/niklasvh/html2canvas) , code follows:

                  <div id="divcapture">                         <object class="form-controlpdf" data="my.pdf" type="application/pdf" height="500px">                         </object>                       </div>  <button type="button" class="btn btn-primary" style="width:100%" id="captur" onclick="capture();">capture</button>                    function capture() {         $('#divcapture').html2canvas({         onrendered: function (canvas) {             document.body.appendchild(canvas);         }         });     } 


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -