Open hafedh-trimeche opened 2 years ago
Hello, The Width attribute is not parsed inside CSS body (210mm). The real Width of the html is set ignoring this attribute.
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Residence information</title>
<style>
body {
font-family: "Courier New", Courier, monospace;
font-size: small;
position: absolute;
width:210mm;
margin:0mm;
}
Please note that the Height is set to its correct value.
Best regards.
Sorry,
The PNG rendering problem is caused by the SynPdf component! https://github.com/synopse/SynPDF
Best regards.
Hello,
Using this code to convert HTML to PDF via SynPdf component, the PNG image is not rendered ; JPG does.
Would real rendered Width and Height determined without the default width parameter provided to FullDisplaySize function?
Would margins set to 0 so document and control widths will be identical by introducing paraemetrs to the function:
which would be:
Best regards.