Hi,
I generate a word document with some tables. I want to autofit the tables based on the content.
table.AutoFit(AutoFitBehavior.AutoFitToContents);
When I save this document as .docx this is working correctly.
When I save this document as .pdf the contents of these tables get wrapped.
Before I save the document I perform a UpdateTableLayout
doc.UpdateTableLayout();
I have attached the two created files as an example.
I want the pdf-file to be the same as the docx-file.
How can I achieve this?
Paul