Convert PDF to Word (.docx)
Work with Other SDKs
Convert PDF to Microsoft Word (.docx)
Home ›› XDoc.PDF ›› C# PDF: Convert PDF to Word (.docx)

C# PDF - Convert PDF to Word in C#.NET

Online C# Tutorial for Converting PDF to Word (.docx) Document

Best adobe PDF to Microsoft Office Word converter SDK for Visual Studio .NET

Support .NET WinForms, ASP.NET MVC in IIS, ASP.NET Ajax, Azure cloud service, DNN (DotNetNuke), SharePoint

Library and component for batch converting PDF documents

Convert PDF to multiple MS Word formats such as doc and docx

Create editable Word file online without email

Password protected PDF file can be printed to Word for mail merge

Quick to remove watermark and save PDF text, image, table, hyperlink and bookmark to Word without losing format

Free .NET conversion control easy to be embedded to any .NET framework on Windows 32bit and 64bit without registration key

C# class source code is available for copying and using

RasterEdge Visual C# .NET PDF to Word (DOC/DOCX) converter library control (XDoc.PDF) is a mature and effective PDF document converting utility. Using this PDF to Word converting library control, .NET developers can quickly convert PDF document to Word file using Visual C# code. This C#.NET PDF to Word(DOC/DOCX) conversion library can help developers convert multi-page PDF document to multi-page Word file or convert each PDF document page to separate Word file.

The most outstanding feature of this PDF to Word converting toolkit is its industry-leading converting accuracy. The Word file, converted by RasterEdge PDF to Word converter toolkit, preserves the structure & layout of target PDF document, keeps the elements (like images, tables and chats) of original PDF file and maintains the original text style (including font, size, color, links and boldness).

Why do we need this PDF to Word converting library? In the daily-life applications, you often need to use and edit PDF document content for certain purpose. But without licensed third-party software, you can hardly edit PDF document. Under this situation, you need to convert PDF document to some easily editable files like Word document.

RasterEdge XDoc.PDF empowers your C#.NET application with advanced PDF to Word conversion functionality. Microsoft Office Word 2003, 2007 and later versions are compatible with this product.

C# Demo: Convert PDF to Word Document

Add necessary references:












Use corresponding namespaces;

  using RasterEdge.Imaging.Basic;

  using RasterEdge.XDoc.PDF;

This is a C# programming example for converting PDF to Word (.docx) file.

// Load a PDF document.
String inputFilePath = Program.RootPath + "\\" + "1.pdf";
PDFDocument doc = new PDFDocument(inputFilePath);

// Convert and output to a DOCX file.
String outputFilePath2 = inputFilePath + ".docx";
doc.ConvertToDocument(DocumentType.DOCX, outputFilePath2);