We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Retain Table Positioning & Alignment in Header while Converting Word DOCX to PDF C# .NET API

Dear Team,

We are facing alignment issues while converting word to PDF and we are
using Aspose.Words with version 17.3.0.0 and Aspose.Total with version 17.0.Files.zip (199.4 KB)

Please find the solution as early as possible.

Please find the attached documents to find the issue.

@subbusp,

After an initial test with the licensed latest version of Aspose.Words for .NET i.e. 20.1, we were unable to reproduce this issue on our end. Please see the output PDF document generated on our end by using the following simple C# code:

C# Code:

Document doc = new Document("E:\\temp\\Files\\OriginalFile.docx");
doc.Save("E:\\temp\\Files\\20.1.pdf");

So, we suggest you please upgrade to the latest version. Hope, this helps.

Dear Team,
Thanks for the reply, Could you please tell me why alignment issue is coming while converting word to PDF with older version and not in new version.

@subbusp,

You are using a very old version of Aspose.Words; please note that we do not provide support for older released versions of Aspose.Words. We also do not provide any fixes or patches for old versions of Aspose APIs. All fixes and new features are always added into new versions of our APIs. So, we suggest you to please upgrade to the latest version of Aspose.Words for .NET i.e. 20.1. Hope, this helps.