We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

HtmlToPdfConverter - How to include referenced images in the pdf?

There are images referenced on the HTML page that I am trying to convert to PDF. What is the best way to include those images into the PDF?

1 Reply 1 reply marked as answer

SN Santhiya Narayanan Syncfusion Team October 12, 2022 06:11 AM

Hi Dinesh,

HTML to PDF converter provides support for converting HTML string to PDF. For converting HTML string to PDF, we have to specify the base URL (path of the resources) to load the external images/scripts/fonts/styles used in the HTML string. Please refer to the below link for more information,




Marked as answer
Live Chat Icon For mobile
Up arrow icon