Hi,
i use the command
((Aspose.Words.Tables.Table)tmp).AutoFit(AutoFitBehavior.AutoFitToWindow);
but the generated table does not respect the proportions of the columns.
Hi,
i use the command
((Aspose.Words.Tables.Table)tmp).AutoFit(AutoFitBehavior.AutoFitToWindow);
but the generated table does not respect the proportions of the columns.
Thanks for your inquiry. To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:
As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.
Good morning,
attached an example console, with the implementation of the autofit,
one directly from a word table,
another copying the table from excel in word and enabling the autofit.
In the example there are files generated by office, which behave differently than the width of the columns.
Additionally copying the table in word from excel,
the 7.5 arial font becomes 7
ConsoleAppAspose.zip (436.8 KB)
Thanks for being patient. We have produced the following output files on our end by using the latest versions of Aspose.Words for .NET (18.11) and Aspose.Cells for .NET (18.10) and the code you provided; do you see the same problems in these output documents?
If the problems still remain, please also provide comparison screenshots highlighting the problematic areas in above generated output documents with respect to your expected outputs and attach them here for our reference. Thanks for your cooperation.