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);
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);