Article Details
Id: | 9411 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 1.04.04 |
Opened: | 18/11/2011 |
Closed: | 24/11/2011 |
Released: | 01/02/2012 |
Job: | J008576 |
PDF Converter; enhancements
Meta tags can now be included at the top of HTML documents to refine how the PDF file is generated.
The CSS meta tag defines additional CSS that will be included at end of the HTML <head> section when generating a PDF, e.g., to hide certain images or modify the background colour.
The ViewportWidth defines the width of the virtual screen that the HTML is rendered to. By default this is 1024 for portrait and 1448 for landscape but changing it to a higher value allows more information to fit on the page, e.g. if you have a particularly wide table.
<meta name="pdf-CSS" content="body {background-color:white}"/>
<meta name="pdf-ViewportWidth" content="1400"/>