Closed xCite1986 closed 4 years ago
The scale option sets the value "scale" for the html2canvas component. See documentation at http://html2canvas.hertzen.com/configuration The value and it's behaviour is better described at https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio It means, a higher value will deliver higher quality images but will result in longer processing time.
What to you mean with zoom level? Can you provide a HTML example and PDF output where the issue can be seen?
sorry, i cant deliver you a sample by html-code. i wish it would be so easy to solve it with css and html but i think the individual resize should happened in the process html2cavas or html2pdf.
i've played around with the page formats. rendering the page in a3 format the scale looks more attractive and that it's the way it should be :) save the trees! more content on one paper! "so put out your glasses, manager!"
A4: ,
A3:
short sample here: http://webapplications.cloud/apex/f?p=221
Added more PDF output formats (A5, A3, A2, A2 and A0).
Hello Raphael,
thank you for contribouting your first plugin. a easy-to-use pdf-conversion in APEX is what i miss from beginning!
a functionality to reduce the size of the elements (like setting the zoom-level) before it will be rendered to the pdf will be great for future.
i found the option for set the canvas-scale and set them to 0,2. is that really how it should look?
greedings to rammelhof!