Table Auto fit dose not work with blank initial document- works only with initial template document

Hi Team,


Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)node;
table.AutoFit(Aspose.Words.Tables.AutoFitBehavior.AutoFitToWindow);

Table auto fit to window option does not work with blank document. (I mean if i create blank document programmatic)

But it works fine if i provide any template as initial word document.

Regards,
Nakul

Hi Nakul,


Thanks for your inquiry. Could you please share here the complete code to be able to reproduce this issue on my side? I will investigate the issue and provide you more information.

Best Regards,