The long width table document has been cut when saving as pdf

code is simple:

Document doc = new Document(MyDir + "LongWidthTable.docx");
doc.Save(MyDir + "LongWidthTableOut.pdf", SaveFormat.Pdf);

the attachment is generated by aspose words.
if we open the document with word application and do some change and save it, using Aspose save it as pdf it works well. it seems that word application adjust the document format.

the attachment is the table cut pdf.

Hi Andy,
Thanks for your inquiry.
This is most likely happening because you are generating the tables with a large width for each cell. When saved to a Word format these tables appeared fitted to the page automatically but when rendered to PDF they are exported in the way they are which fits across the page.
To fix this you can either choose to fit the table to the page using the method described in this post here or you can rebuild the tables in the entire document using Document.UpdateTableLayout. Please note that the UpdateTableLayout method may change the layout of other tables in your document if there are any. If this is the case then I suggest using the first method.
Thanks,

cool, I use the second way, and it solve the problem. thanks again.