C#: Online Guide
How To: Word SDK
Convert PDF to Word
Convert PDF to Word
  |  
Home ›› XDoc.Word ›› C# Word: Convert PDF to Word

How to C#: Convert PDF, Excel, PPT to Word


Online C# Tutorial for Converting PDF, MS-Excel, MS-PPT to Word




PDF, MS-Excel, MS-PPT to Word Conversion Overview



By integrating XDoc.Word SDK into your C#.NET project, PDF, MS-Excel and MS-PPT can be converted to Word document. Generally speaking, following conversion types are supported. vb.net pdf reader, add image to pdf itextsharp vb.net, itextsharp add image to pdf vb.net, barcode scanner code in vb.net, how to convert pdf to jpg in c# windows application, open source qr code library c#.


From PDF to Word


From MS-XLS and MS-XLSX to Word


From MS-PPT and MS-PPTX to Word


Related .net document control helps:
asp.net excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net edit pdf text: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...




How to C#: Convert PDF to Word



Add references: generate pdf thumbnail c#, vb.net pdf to jpg, convert pdf to jpg c# itextsharp, print pdf vb.net without acrobat, c# convert pdf to bmp, vb.net pdf to word, vb.net change pdf metadata.


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.XDoc.Office.Inner.Common.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.XDoc.Office.Inner.Office03.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.XDoc.Word.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.PDF.dll


Use corresponding namespaces;


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.PDF;


Following is C# demo code for PDF (.pdf) to Word conversion. asp net remove text from pdf javascript, excel viewer asp.net c#, best pdf viewer control for asp.net, mvc pdf viewer free, asp.net tiff image viewer, asp.net core pdf editor, pdf preview in asp.net c#.




String inputFilePath = Program.RootPath + "\\" + "1.pdf";
String outputFilePath = Program.RootPath + "\\" + "Output.docx";

// Load a PDF document.
PDFDocument doc = new PDFDocument(inputFilePath);

// Convert it to Word document.
doc.ConvertToDocument(DocumentType.DOCX, outputFilePath);





How to C#: Convert Excel to Word



This is a C# class example for Excel (.xlsx) to Word conversion.




String inputFilePath = Program.RootPath + "\\" + "1.xlsx";
String outputFilePath = Program.RootPath + "\\" + "Output.docx";

// Load an Excel (.xlsx) file.
XLSXDocument doc = new XLSXDocument(inputFilePath);

// Convert Excel to Word.
doc.ConvertToDocument(DocumentType.DOCX, outputFilePath);





How to C#: Convert PPT to Word



Following sample code may help you with converting PowerPoint to Word file.




// Used to register all DLL assemblies.
WorkRegistry.Reset();

String inputFilePath = Program.RootPath + "\\" + "1.pptx";
String outputFilePath = Program.RootPath + "\\" + "Output.docx";

// Load a PowerPoint (.pptx) file.
PPTXDocument doc = new PPTXDocument(inputFilePath);

// Convert it to a Word.
doc.ConvertToDocument(DocumentType.DOCX, outputFilePath);