I have a requirement to convert .docx file to .pdf file.
I want to do this using MVC4 c#.
Can you please help me regarding the same.
Regards,
Radhey.
I have a requirement to convert .docx file to .pdf file.
I want to do this using MVC4 c#.
Can you please help me regarding the same.
Regards,
Radhey.
Hi Radhey,
Thanks for your inquiry.
You can easily render any Microsoft Word document (e.g. DOC, DOCX, RTF etc) to PDF format by using Aspose.Words. I would suggest you please read the following article for more detail:
http://www.aspose.com/docs/display/wordsnet/How+to++Convert+a+Document+to+PDF
Please let us know if you have any more queries.
Hi Tahir,
Hi Radhey,
Thanks for your inquiry. In case you are using an older version of Aspose.Words, I would suggest
you please upgrade to the latest version (v13.10.0) from here and let us
know how it goes on your side. If the problem still remains, please
attach your input Word document here for testing. I will investigate the
issue on my side and provide you more information.
Hi Tahir,
Hi Radhey,
Radhey:Also i would like to bring to your notice regarding pie-charts, data is plotted on pie-charts which is undesired. I have set data to appear as best-fit while exporting to .docx. But when exported same to .pdf all data is plotted on to pie-charts.
Hi Team,
Hi Radhey,
Thanks for your inquiry. I would like to share with you that issues are
addressed and resolved based on first come first serve basis. Currently,
your issue is pending for analysis and is in the queue. I am afraid, I
cannot provide you any reliable estimate at the moment. Once your issue
is analyzed, we will then be able to provide you an estimate.
Thank you for your patience and understanding.
Hi Radhey,
Thanks for your inquiry. I have converted the shared document ‘StudentAcademics_2013-08.docx’ to Pdf and have not found the shared issue. I have attached the output Pdf with this post for your kind reference.
It would be great if you please share following details for investigation purposes. I will investigate the issue on my side and provide you more information.
What environment are you running on?
Hi Tahir,
I have some more details regarding this issue. My colleague Radhey generated a report using our application, then edited the file manually to obfuscate some of the data. I think the editing step caused the issue to go away. I assume editing and saving regenerated the underlying XML structure, which must have fixed the problem. Please try with the attached file instead, this one is still giving me the issue. The issue is intermittent on our end, some bar charts work fine, but others exhibit the issue. Some additional details:
The attached files were generated with the same code, but in one the bar chart converts to PDF as expected, whereas the other is broken. We are hoping you might be able to tell us the difference, I am continuing to research on my end as well.
Thank you,
Mike McDonald
Hi Mike,
Thanks for sharing the detail.
I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-9297. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.
We apologize for your inconvenience.
The issues you have found earlier (filed as WORDSNET-9297) have been fixed in this .NET update and this Java update.
If there any update on the WORDSNET-9254 issue? We have since purchased the Aspose Words package, but this issue is still causing unsightly pie charts when we convert from Word to Pdf. This is a huge stumbling block for us, and will likely prevent us from using your library in production.
The issues you have found earlier (filed as WORDSNET-9254) have been fixed in this .NET update and this Java update.