Free Support Forum - aspose.com

Word to PDF: Alignment of the objects

Hello Team,

We are using Aspose.Words 7.0.0.0 and we are generating one document having two tables back to back.

We have set the left margin for the word document and PDF is generated based upon word document.

Take a look at the left alignment ofr the first two tables marked by a circle.

Attached are both the output document.

In PDF the alignment is getting changed.

Regards,

Dwarika

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Could you please attach your input document here for testing? I will check the problem on my side and provide you more information.

Best regards,

Hello,


Attached is the word output for your reference.

Regards,
Dwarika

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for additional information. I cannot reproduce the problem on my side using the latest version of Aspose.Words. Please see the screenshot bellow.

Best regards,

Hello Andrey,


We have tested the problem using Aspose 9.0 and the problem is still there.

Attached is the screen dump for your reference.

Regards,
Dwarika

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I still cannot reproduce the problem on my side using the latest version of Aspose.Words. I use the document from your previous post and the following code:

Document doc = new Document("Aspose.doc");

doc.SaveToPdf("out.pdf");

Best regards,

Hi,

1. In which Aspose.word version has this been fixed?

2. Is this working on version Aspose.word 9.0?

Hello<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I cannot reproduce the problem on my side using Aspose.Words 9/9.1/9.2/9.3. I use the following code:

Document doc = new Document("Aspose.doc");

doc.Save("out.pdf");

Best regards,