Hi,
If you use HtmlToPdf.ConvertHtml, make sure you set HtmlToPdf.Options.BaseUrl.
BaseUrl is used to expand partial Url into full Url. For example, if you set BaseUrl to "c:/Temp", it will expand "Test.pdf" to "c:/Temp/Test.pdf". However the "c:/Temp" part will not stay in the final PDF since it is the same location as the document itself. So to resolve your problem, you can set HtmlToPdf.Options.BaseUrl to any value --- but it must have a value.
BaseUrl is important in other cases when the full Url matters. For example, if you have an image tag in your HTML:
In this case you MUST set BaseUrl to a proper value so that the converter will know where to find "Test.gif". For example, if you meant to render the Test.gif in your "c:/Temp" directory, then you must set BaseUrl to "c:/Temp". If you meant "http://somesite.com/Test.gif", then you must set BaseUrl to "http://somesite.com". Without BaseUrl information the converter won't be able to render the image properly. The same for any other kind of dependency resource such as script files and CSS files.
Hope this helps. Please feel free to let us know if you still have any problems.
Thanks!