HI
I have converted my pdf in to html and trying to display the html in web browser component. but the images are not rendering when displaying this html in browser component, text and other things works fine.
txtPdf.Text = openFileDialog1.FileName;
string HtmlPath = @“D:\Epub\Output\Output10.html”;
Document doc = new Document(txtPdf.Text);
HtmlSaveOptions saveoption = new HtmlSaveOptions();
saveoption.FixedLayout = true;
saveoption.SplitIntoPages = false;
saveoption.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsExternalPngFilesReferencedViaSvg;
doc.Save(HtmlPath, saveoption);
HtmlAgilityPack.HtmlDocument htmldoc = new HtmlAgilityPack.HtmlDocument();
htmldoc.Load(txtPdf.Text);
Hi Sumit,
Thanks for contacting support.
I have tested the scenario using Aspose.Pdf for .NET 8.8.0 where I have used one of my sample PDF files and I am unable to notice the problem. Can you please share the source PDF file so that we can test the scenario at our end. We are sorry for your inconvenience.