@kainat123,
Can you please provide a bit more information about the exact issue that you are currently observing on your end? So that we could analyze why the fix doesn’t work on your side and propose an alternate. Please create a standalone simplified Console Application (source code without compilation errors) that helps us to reproduce this problem on our end, compress it (along with the output document it produces) into ZIP format and attach the .zip file here for further testing. Please do not include Aspose.Words DLL files in it to reduce the file size.
However, the following code produces a document on our end with table that fits the page and is not cropped.
Document doc = new Document("input.htm");
doc.Save("out-iso29500.docx", new OoxmlSaveOptions { Compliance = OoxmlCompliance.Iso29500_2008_Transitional });
Please see this document that the above code produced on our end:
out-iso29500.docx (18.6 KB)