+ Start a Discussion

Visualforce PDF Render Resolution

Hello developer community.

As the title says, my question is about the Visualforce PDF renderer.


What i need to do, is to place an image as background of the visualforce page and then write over it the fields i need, but i can't get the right resolution. 

At this time, i have acheived to get the image to fit on the page, but the dpi is pretty low, so it seems blurry, in short therms, useless. 


How can i change the dpi of the page to get the image fit without losing resolution? 



Thanks in advance.


-Isay Garcia.


Temporal solution:

Using CSS and HTML.



<img id="id_de_imagen" width="820px" height="1030px"src="some_url"/>

#id_de_imagen{ z-index:2;  }

@page{ margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px;  }