How to convert PDF to WORD in c# [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can 开发者_如何学JAVAedit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionDoes 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.
I tried several libraries:
- 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
- considered also using Word via COM automation to open and save to pdf programmatically.
Among all of them I liked PDF Focus .NET best of all, and I will explain why:
- They try to keep the structure of the document EDITABLE, so that when I will try to continue editing the text, the paragraph will be smoothly prolonged. Other libraries are trying to do a "minimalistic" approach by inserting absolute positioned shapes, so that if you continue editing the text, it will overlap with the next piece of text.
- They do all their best to recognize tables, so that tables in the output document will be REAL TABLES, but not a collection of shapes and texts with absolute positioning (as produced by other libraries).
A customer of ours is evaluating now different libraries, and I will recommend PDF Focus .NET first of all.
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.
Use PDF Focus.
Nice and easy.
EDIT: And also
How to convert DOC into other formats using C#
http://dotnetf1.blogspot.com/2008/07/convert-word-doc-into-pdf-using-c-code.html
You need something like GemBox.Document. It's a simple .NET component that enables you to manipulate and convert all kinds of document files.
You should have read this: C# and PDF. There are methods to convert, like beforementioned PDF Focus but be warned: it is buggy, and crashy process. PDF is not intended to be PC-readable.
精彩评论