We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML to PDF_DOM : Multi Column Table with different size content in it

Hi Tilal,

While testing HTML to PDF(DOM approach) using Aspose.Pdf we came across a scenario if which we have multi table column (10 X 10) with variable size content in it.
Now in the generate PDF we can see only 5 columns and 10 rows.

Issue 1 : Our trailing 5 columns gets trimmed in generated PDF.

Issue 2 : It increases the width of the generated PDF even though I have set height and width of PDF page using

options.PageInfo.Width = 597.6F;

options.PageInfo.Height = 842.4F;

Can you please confirm on how much columns a standard A4 size PDF can accommodate.
I guess it will also depend upon the size of content inside the tale.

I have attached the HTML file, corresponding PDF and CSS file.

Thanks in advance.


Regards,
Siddesh

Hi Siddesh,


Thanks for your inquiry. I have tested the scenario and noticed that 5 columns are being trimmed in output PDF even swapping width and height values does not work. I have logged a ticket PDFNEWNET-38379 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.

Moreover, I am afraid we can not confirm that how many columns can render on A4 page size as it all depends upon the contents.


We are sorry for the inconvenience caused.

Best Regards,

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