I am trying to create word table through aspose word 11.7.0 version and the word table is falling out side of the page in word. This process working fine in older version of aspose word 10.2.0. I have attached both copy one is fine generated by aspose word 10.2.0 (Fixed Doc - With Aspose Word 10.2.docm) and one is broken which is generated by aspose word 11.7.0 (Broken Doc - With Aspose Word 11.7.docm).
I can manually fix it through Office Word itself by following these steps:
- Right click on the table
- Click on the AutoFit -> AutoFit to Window
I found Aspose has API to do similar task -> Table.AutoFit(AutoFitBehavior.AutoFitToWindow) I tried this one as well and looks like it fixed table width issue but broken some other stuff.
I also tried latest Aspose 11.11.0 and it didn’t work as well.
Please this post as well.
Please provide advise as soon as possible as this is argent issue for us.