如何在c#中将PDF转换为WORD [英] How to convert PDF to WORD in c#
问题描述
有人知道以编程方式将 PDF 转换为 Word 或 RTF 的 .Net 组件吗?我不想使用 OCR 和 Adobe 相关解决方案.
Does the anyone know a .Net component to convert PDF to Word or RTF programatically? I don't want to use OCR and Adobe dependent solutions.
推荐答案
我尝试了几个库:
- PDF Focus .NET:https://sautinsoft.com/products/pdf-focus/index.php
- Aspose.PDF:https://products.aspose.com/pdf/net
- Gembox:https://www.gemboxsoftware.com/document
- Spire.PDF:https://www.e-iceblue.com/Introduce/pdf-for-net-introduce.html
- 还考虑通过 COM 自动化使用 Word 以编程方式打开并保存为 pdf.
其中我最喜欢 PDF Focus .NET,我将解释原因:
Among all of them I liked PDF Focus .NET best of all, and I will explain why:
- 他们试图保持文档的结构可编辑,以便当我尝试继续编辑文本时,该段落将是顺利延长.其他图书馆正在尝试做一个通过插入绝对定位形状的简约"方法,所以如果您继续编辑文本,它将与下一个重叠一段文字.
- 他们尽最大努力识别桌子,所以输出文档中的表将是真正的表,但不是具有绝对定位的形状和文本的集合(如由其他图书馆制作).
我们的一位客户现在正在评估不同的库,我首先推荐 PDF Focus .NET.
A customer of ours is evaluating now different libraries, and I will recommend PDF Focus .NET first of all.
附言我与该软件生产商没有任何关系.作为一名前 .NET 开发人员,我只是看到了一个真正工作正常的高质量组件.
P.S. I AM NOT INVOLVED IN ANY KIND OF RELATIONSHIP WITH THIS SOFTWARE PRODUCER. As a former .NET developer I simply see a high quality components which really work fine.
这篇关于如何在c#中将PDF转换为WORD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!