在.net core 2.1中将DOCX文件转换为PDF文件 [英] Converting a DOCX file to PDF file in .net core 2.1
问题描述
大家好,
我读过一篇文章,讨论如何在此处将Docx文件转换为PDF文件: https://social.msdn.microsoft.com/Forums/en-US/10a26266-496b-4cdc-a0d4-7e5a66e6dbe0/word-to-pdf-in-sharepoint- event-receiver-using-microsoftofficeinteropword?forum = sharepointdevelopmentprevious
但是,似乎我们需要修复一个与正在使用框架.net核心2.1的正在进行的开发项目不兼容的Microsoft.Sharepoint.dll。是否可以使用REST API将Docx转换为PDF?我已阅读
以下链接,但似乎没有REST API可进行转换: https://docs.microsoft.com/en-us/previous-versions/office/ developer / sharepoint-rest-reference / dn450841(v = office.15)
您好
我记得sharepoint有一个名为"word automation services"的服务。可以帮助将docx转换为pdf。
您可以在technet中查看该服务。
https://docs.microsoft.com/en-us /previous-versions/office/developer/sharepoint-2010/ee558830(v=office.14)
Hi all,
I have read an article which talks about how to convert a Docx file to a PDF file here: https://social.msdn.microsoft.com/Forums/en-US/10a26266-496b-4cdc-a0d4-7e5a66e6dbe0/word-to-pdf-in-sharepoint-event-receiver-using-microsoftofficeinteropword?forum=sharepointdevelopmentprevious
However, it seems that we need to nuget a Microsoft.Sharepoint.dll which is not compatible with my on going development project that is using the framework .net core 2.1. Is that possible to use REST API to make a convertion of Docx to PDF? I have read the
following link but it seems that there is no REST API to make a conversion: https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn450841(v=office.15)
Hi
I remember that sharepoint has a service named "word automation services" can help convert docx to pdf.
You can check the service in technet.
https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee558830(v=office.14)
这篇关于在.net core 2.1中将DOCX文件转换为PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!