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

Free Support Forum - aspose.com

Converting Word document to pdf document in c# with page orientation is landscape

Converting word document with page orientation as landscape to pdf document in c#.

For above thing we are using below link and Aspose.word dll is 15.12.0

But after converting to PDF from word document the data is not clearly visible as it is getting cut from the left side of PDF. I think it is because of the page orientation,

please suggest.

Please find attached word and converted PDF documents.

Please let me know if you need more details.

Raghvendra Kr. Gupta

Hi Raghvendra,

Thanks for your inquiry.

Aspose.Words mimics the way the Microsoft Word works. I converted your ‘worddoc.doc’ file to Pdf format using Microsoft Word 2016 and have attached the resultant file (msw-2016.pdf) here for your reference. You can see that Aspose.Words 15.12.0 produces an output (15.12.0.pdf) similar to Microsoft Word.

In case you still see problems in Aspose.Words 15.12.0 generated Pdf, please create comparison screenshot which shows the problematic area(s) in Aspose.Words generated Pdf and attach it here for our reference. We will investigate the issue further on our end and provide you more information.

Best regards,

Hi Awais,

Thanks for your help.

Please could you provide me your sample of code.

Raghvendra Kr. Gupta

Hi Raghvendra,

Thanks for your inquiry. I used the same code from following link:

How to Convert a Document to PDF

If we can help you with anything else, please feel free to ask.

Best regards,