Pdf file converted from html is not readable

I used the following source code:

HtmlLoadOptions htmloptions = new HtmlLoadOptions();

Document doc = new Document(sourceFilePath, htmloptions);
doc.Save(outFile, Aspose.Pdf.SaveFormat.Pdf);

I also tried using
htmloptions.PageInfo.Margin.Left = 10;
htmloptions.PageInfo.Margin.Right = 10;

but the format got worse.

Thank you for your help,
Caifang

Hi Carifang,


Thanks for your inquiry. We will appreciate it if you please share your sample HTML here. We will test it at our end and will provide you information accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Today I tried your latest version (05/13/2015 aspose.pdf.dll), the contents are overlapped. Please check the attached files.

Hi Carifang,


Thanks for sharing your source HTML. We have tested the scenario with latest version of Aspose.Pdf for .NET 10.4.0. We are unable to notice the margin issue but text is displaced. So we have logged a ticket PDFNEWNET-38762 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNET-38762) have been fixed in Aspose.PDF for .NET 22.7.