[Aspose.Words .NET v23.3.0]
I have a table with 7 columns. I want the table to be as wide as the page, where the middle column is just space [L1, L2, L3, ----space----, R1, R2, R3] is how it would look on the page. I’m using table.AutoFit(AutoFitBehavior.AutoFitToWindow) and CellFormat.PreferredWidth to accomplish this.
The docx file looks correct when I save to that format. But, when I save the Word document with SaveFormat.Pdf and don’t use UpdateTableLayout, all 7 columns are evenly spaced in the PDF document. I am saving to a memory stream if that matters.
I’ve tried using PdfSaveOptions { UpdateFields = true }, but that didn’t work either.