Some of the tables in my document are extending outside of the page, So i used the following statements to fit tables which are extending outside of page.
MainDocument.CompatibilityOptions.GrowAutofit = true; (OR)
DocumentBuilder buil = new DocumentBuilder(MainDocument);
RowFormat rf = buil.RowFormat;
rf.AllowAutoFit = true;
But, Unfortunately above two techniques are not working for me, could you please help me out to fit the tables in the width of page which are extending outside only…
following HTML content to create the table in document. Could u pls suggest on this?.
First Table to fit in Word.