We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Autofit table in template- not working when saving as PDF

Hi<?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" />

I have a document merge, that Works fine, when sending to response as .Doc

If sending as.PDF, all the tables with autosize, does not fit to content, and inserted HTML does not fit content as well.

Opening the doc in word, saving and converting to PDF, does the trick :-(

Looks like the autofit'ing is only done I MS word, not in Aspose?

Can something be done?

Regards

Hi,

Thanks for your inquiry. Could you please attach your input/output documents (.doc/.pdf files) and code for reproducing the issue on my side here for testing? I will investigate your issue on my side and provide you more information.

Please also refer to the following section of the documentation which outlines everything you need to know about applying different AutoFit Settings to a Table.

Best regards,