Hi,
we noticed a diffrent behavior between Aspose.PDF Version 20.6 and 20.7.
If I convert the attached html file to Pdf file, the hight of the table border is completly different.
testfile.zip (358 Bytes)
I use this code to convert the html:
private static void CreatePdfDocument()
{
var htmlText = Properties.Resource1.form2;
using (var stream = new MemoryStream(Encoding.UTF8.GetBytes(htmlText)))
{
var options = new Aspose.Pdf.HtmlLoadOptions(Path.GetTempPath())
{
PageInfo =
{
Margin = new MarginInfo(25F, 50F, 0F, 30F),
Height = PageSize.A4.Height,
Width = PageSize.A4.Width,
IsLandscape = false
}
};
new Aspose.Pdf.Document(stream, options).Save("test.pdf");
}
}
If I open the html file in a browser. The border is displayed as in Aspose.PDF Version 20.6
Can you please give us an advice how to solve this problem?
Maybe there is a relation to my previous posted issue which discribes an other problem regarding table style options between version 20.6 and 20.7.
Convert HTML to PDF using C# - different behavior of page-break property in version 19.11 to 21.1 | Aspose.PDF - Aspose.PDF Product Family - Free Support Forum - aspose.com
Thank you very much.
Regards Fabian.