Convert html page to pdf

hi sir

i use this line for html page to pdf

Dim basePath As [String] = "C:\Users\Sentil\Downloads"

Dim htmloptions As New HtmlLoadOptions(basePath)

' use the new conversion engine htmloptions.UseNewConversionEngine = True

' load HTML file

Dim doc As New Document("Import.html", htmloptions)

' Save HTML file

doc.Save("output.pdf")


i select the file from base path but it through error like this

Cannot find source file 'C:\Windows\SysWOW64\inetsrv\Import.html'!


i use the "2014.09.30 asposepdf.dll"

Hi Senthil,


Thanks for using our API’s.

During our testing, we did not notice any such issue while converting HTML files to PDF. However please share the input PDF document or sample solution, so that we can test the scenario in our environment. We are sorry for this inconvenience.