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

Free Support Forum - aspose.com

Adding two tables to a page causes margins to move

See attached zip for a example. Comment out the addTableTwoOutsideOfHeader method to see the table and .5 inch margins which is correct. When 2nd table is added it moves everything to the right?



See picture for examples of before and after.

Hi Brandon,

We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for .NET 9.2.0, we have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWNET-36922 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-36922) have been fixed in Aspose.Pdf for .NET 9.4.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi Brandon,


Thanks for your inquiry. In reference to above stated fix, we have further investigate the issue and found that change ColumnwWdths of second table to Page width instead PDF document will solve the formatting issue. Please make changes in your code as following.

'hTable.ColumnWidths = GetPageWidth() 'threeColumnWidth
& " " & threeColumnWidth & " " &
threeColumnWidth
<o:p></o:p>

hTable.ColumnWidths = p.PageInfo.Width.ToString

....


Please feel free to contact us for any further assistance.


Best Regards,