Hi
Hi,
Thanks
for using our API’s.<o:p></o:p>
I have tested the scenario and I am able to notice the same problem. For the sake of correction, I have logged this problem as PDFNEWNET-37979 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.
Hi
Hi Craig,
Hi there
Hi Craig,
Aspose.Pdf.Document
doc = new Document(“D:\Downloads\1.pdf”);<o:p></o:p>
// Instantiate HTML Save options object
HtmlSaveOptions newOptions = new HtmlSaveOptions();
//newOptions.PreventGlyphsGrouping = false;
// Enable option to embed all resources inside the HTML
newOptions.PartsEmbeddingMode = HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;
// This is just optimization for IE and can be omitted
newOptions.LettersPositioningMethod = HtmlSaveOptions.LettersPositioningMethods.UseEmUnitsAndCompensationOfRoundingErrorsInCss;
newOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
newOptions.FontSavingMode = HtmlSaveOptions.FontSavingModes.SaveInAllFormats;
// Output file path
string outHtmlFile = @"D:\Downloads\1.html";
doc.Save(outHtmlFile, newOptions);
Hi Tilal.ahmad
Hi Craig,
// Load source PDF file<o:p></o:p>
Document doc = new Document("D:\\Downloads\\1 (6).pdf");
// Instantiate HTML Save options object
HtmlSaveOptions newOptions = new HtmlSaveOptions();
// Enable option to embed all resources inside the HTML
newOptions.PartsEmbeddingMode = HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;
// This is just optimization for IE and can be omitted
newOptions.LettersPositioningMethod = LettersPositioningMethods.UseEmUnitsAndCompensationOfRoundingErrorsInCss;
newOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
newOptions.FontSavingMode = HtmlSaveOptions.FontSavingModes.SaveInAllFormats;
// Output file path
String outHtmlFile = myDir+"Single_output.html";
// Save the output file
doc.save(outHtmlFile, newOptions);
Hi
Hi Craig,
The issues you have found earlier (filed as PDFNET-37979) have been fixed in Aspose.PDF for .NET 20.2.