Free Support Forum - aspose.com

PDF Table Width Issue

I need to have 2 Tables in my PDF that are EXACTLY the same size.

I add table 1 and set it’s column widths to this ColumnWidths = “192 192 192”
I add table 2 and set it’s column widths to this ColumnWidths = “96 96 96 96 96 96”

192 * 3 = 576
96 * 6 = 576

So I would expect the tables to be exactly the same size, but they are not.

The second table is a few pixels larger.

Any ideas how to fix this issue?

@TimothyBlue,
Thank you for your query.
Could you please share the runnable console application along with the output file generated by the code? Share an image also showing the issue and also identify your expected output for our reference. We will reproduce the issue here and provide assistance accordingly.