When I save as PDF the table on the second page should have all cell’s center aligned, however, when using Aspose.Words some change to top alignment.
Firstly the code to reproduce:
Document wordDoc = new Document(“test-alignment.docx”);
If I open the document in Word myself and save as PDF then the result is fine. Attaching the two pdfs and two screenshots showing the issue.
Reproduces in v14.1
Thanks for your inquiry. Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.
The most important thing to forget! Attached, thanks.
Thanks for sharing the document. I have tested the scenario using latest version of Aspose.Words for .NET 14.2.0 and have not found the shared issue. Please use the latest version of Aspose.Words for .NET 14.2.0. I have attached the output Pdf file with this post for your kind reference.
I can confirm that 14.2 has resolved this issue. Thank you for your assistance.
Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.