+ Start a Discussion

Rendering Image in PDF

We have an Apex class which generates an PDF as an Email Attachemnt ,the image/PDF that we are going to render is added as an child object to a custom object..


We used Visual force page with renderAs="PDF" attribute for Email attachment and used <apex:image url={!the url of the attachement file} this did'nt work.


is there any other way to render it.. 

Rahul SharmaRahul Sharma

try this:

<img src="url"/>