since the new release I’ve some broken tables.
The first 3 tables in my document look good (Good.png) the following tables all look strange. At first they took only about 2cm of width in my document. I then added
Hi
Thanks for your request. Could you please attach your documents and sample code that will allow us to reproduce the problem? We will check the issue and provide you more information.
Best regards,
Most likely your tables appear different because by default tables are now auto fitted to the window. To revert this behaviour you can set autofit to fixed column widths. Please see the code below.
Hi
Thanks for your request. table.setAllowAutoFit(boolean) simply sets or resets “Allow Auto Fit” option of the table. table.autoFit(AutoFitBehavior) adjusts width of columns in the table according to the specified AutoFitBehavior. https://reference.aspose.com/words/java/com.aspose.words/table/#autoFit-int
Best regards,