how to change height and width manually of pdf by using html2pdf in php -
After
I am using html2pdf to convert html to pdf ... actually i like 12x12in (inch) HTML container has a larger size. And I have used the A4 size for the first time, then my HTML content has not been fully displayed according to the size (12x12 inch), then I have noticed your site and I have got all the paper sizes here. Thanks for this important information ... but now, when I have used the A3 size, I've got all my HTML content inside the PDF file ... but p I have to know ... so i want to know ... what is there any way to reduce this place in pdf or any other way to convert HTML into pdf with manually defined page height and width ...
Thanks in advance. < HTML2PDF class creator says that the TCPDF class @param mixed With a little calculation, the page size makes it possible to set up 12 '' x 12 ''. The default unit is millimeter. $ format parameter is the same
$ format tcpdf The class says the code used for the constructor code> pages about the
$ format parameter, it is either one of the following values (case insensitive) or a two-element array form In a width and height (given by the unit As having expressed) in Unit can be a custom format ...
Comments
Post a Comment