Hi,
I believe I’ve found a bug in your html to pdf examples. I pulled down the example repo at https://github.com/aspose-html/Aspose.HTML-for-.NET/tree/master/Examples, built it, and uncommented line 168 of runexamples.cs and ran it. That threw an object not set to an instance error with a stack trace that I’ve never seen before. It looked like this:
at …ctor(Stream , Byte[] )
at Aspose.Html.Rendering.MhtmlRenderer.(IDevice , Configuration , TimeSpan , Stream[] )
at Aspose.Html.Rendering.MhtmlRenderer.Render(IDevice device, Stream document, Configuration configuration, TimeSpan timeout)
at Aspose.Html.Rendering.MhtmlRenderer.Render(IDevice device, Stream document, Configuration configuration)
at .( , IDevice )
at . ( , PdfSaveOptions , ICreateStreamProvider )
at Aspose.Html.Converters.Converter.ConvertMHTML(Stream stream, PdfSaveOptions options, String outputPath)
at Aspose.Html.Examples.CSharp.ConvertingBetweenFormats.ConvertMHTMLToPDF.ConvertMHTMLFileToPDF() in C:_test\Aspose.HTML-for-.NET-master\Examples\CSharp\ConvertingBetweenFormats\ConvertMHTMLToPDF.cs:line 34
at Aspose.Html.Examples.CSharp.RunExamples.Main() in C:_test\Aspose.HTML-for-.NET-master\Examples\CSharp\RunExamples.cs:line 168
Any insight into what’s going on here would be greatly appreciated