I am working with the HTML to PDF converter. I was wondering how do I get the converter to push the HTML to full page? It looks like when i use the ConversionOptions class i can pass width and height? But i need to make the HTML page full page.
HTML to full page on the PDF
Re: HTML to full page on the PDF
Support · Apr 5, 2018Hello,
The DynamicPDF Converter API by default adds margins to the PDF page with value 50. If you would like to fill the PDF page with HTML content without margins, you will need to use an HtmlConversionOptions object with desired width/height and set the margin values to zero. You can refer to the documentation on members of HtmlConversionOptions class here
.
Thanks,
ceTe Software Support Team.
Re: HTML to full page on the PDF
Forum member · Apr 6, 2018My other question is how do i get the height and width to fill up the entire PDF? I can't seem to find the correct height and width settings without having too much white space? on my web page it fills up the browser? but when it prints to PDF it does not seem to line up more so for the width setting?
Re: HTML to full page on the PDF
Support · Apr 9, 2018Hello,
Please send an email to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] with the following information.
1. Output PDF.
2. Code used to generate the output PDF.
3. System details (OS name, version, 32-bit or 64-bit)
4. Version of Internet Explorer present on the machine where Converter is installed.
Thanks,
ceTe Software Support Team.