Hello,
I cannot provide any file to illustrate as it has private data.
But the file "IndexOutOfboundArray.html" provided by myarra1228 in the inital post run the same error as my html.
Here is my code:
PdfDocument pdf = new PdfDocument();
if (setting == null)
setting = new PdfPageSettings();
//Specify the plugin path
HtmlConverter.PluginPath = WebConfigHelper.QtPluginPath;
using (var stream = new MemoryStream())
{
//Convert URL to PDF
HtmlConverter.Convert(html, stream, true, 600, pdf.PageSettings.Size, new PdfMargins(25), Spire.Pdf.HtmlConverter.LoadHtmlType.SourceCode);
pdf.LoadFromStream(stream);
}
I'm on Windows 11 Business, region "United States"
Application: Class Library .Net Framework 4.8
Thank you