We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

PDF to HTML conversion in .NET

I’m evaluating the product for our company using the .Net sample code. Using the sample.pdf provided I run ConvertToHtml and the images are not visible in the output. Is this a known issue?


We cannot reproduce this issue at our end using following code:

var converter = new GroupDocs.Conversion.Converter(@"D:/sample.pdf");
var convertOptions = new MarkupConvertOptions();
converter.Convert(@"D:\output.html", convertOptions) 

Please have a look at these output and source files.zip (1.1 MB). Could you please share more details:

  • API version that you are using (e.g. 21.6)
  • Are you using our open-source examples
  • Are you evaluating the API in trial mode (without applying the license)? If yes, please avail a temporary license here and this is how you apply license
  • What is your target framework (e.g. .NET framework 4)


I’m using version 21.8 it’s the latest stable version on NuGet. Yes, I am using the open-source examples.

I cannot run the sample code using .Net framework as the debug folder is empty under the GroupDocs.Conversion.Examples.CSharp.Framework folder and errors are returned. Error attached.frameworkError.png (4.2 KB)

I am running using .Net Core 2.1 which was the preset value.

I will get a temporary license today and see if that makes a difference.



We still cannot reproduce these issues at our end. However, we have prepared a .NET core sample application for you that could be downloaded here. Please install or restore the NuGet package and let us know if issue persists.

Thank you this works.

1 Like


You’re welcome.