I am using the GroupDocs.Viewer.24.6.0 package in my project. I use the following code to convert PDF and other documents to HTML:
using (Viewer viewer = new Viewer(stream, loadOptions))
{
HtmlViewOptions viewOption…...Combine(outputPath, "page_{0}.html"), Path.Combine(outputPath, "page_{0}/resource_{1}")..."page_{0}/resource_{1}"), url + "/page_{0}/resource_{1}"); viewer.View(viewOptions);...