DocumentUpdateTableLayout Method |
Namespace: Aspose.Words
You do not normally need to call this method as cell and table widths are maintained automatically. You can call this method before exporting to PDF (or any other fixed-page format), only in rare cases where you confirmed that tables appear incorrectly laid out in the output document. Calling this method might help to correct the output.
Document doc = new Document(MyDir + "Document.docx"); // Normally this method is not necessary to call, as cell and table widths are maintained automatically // This method may need to be called when exporting to PDF in rare cases when the table layout appears // incorrectly in the rendered output doc.UpdateTableLayout();