1

I'm using SelectPDF to convert HTML to PDF

There's a section in the html for image:

<div>
    <img src="images\picture.png" alt="Logo">
</div>

There's no issue viewing the page in html But when the html is converted the picture doesn't appear.

userone
  • 173
  • 4
  • 14

1 Answers1

4

This issue was in the toubleshooting section of Select PDF.

https://selectpdf.com/html-to-pdf/docs/html/Troubleshooting.htm

I had to use a method that had both a template string and a base url string ConvertHtmlToString(string, string).

userone
  • 173
  • 4
  • 14