C#: Online Guide
Convert PDF to Microsoft Word (.docx)
Convert PDF to Microsoft Word (.docx)
Home ›› XDoc.PDF ›› C# PDF: PDF to Word

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

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

PDF to Word Conversion Overview

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 comptible with this product.

C# Demo: Convert PDF to Word Document

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

// Used to register all DLL assemblies.

// 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);