/ Published in: C#
Convert PDF files to Word Documents (DOC, DOCX) in .NET. Very Fast and Accurate Document Processing – Easily Manipulate Text, Tables & Images with Aspose.Pdf for .NET.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Converting PDF to DOC ===================== The following code snippet shows the process of converting PDF file into DOC. C# == // Open the source PDF document // Save the file into a Microsoft document format pdfDocument.Save("D://pdftest//TableHeightIssue.doc", SaveFormat.Doc); VB.NET ====== ' Open the source PDF document Dim pdfDocument As Document = New Document("input.pdf") ' Save the file into a Microsoft document format pdfDocument.Save("D://pdftest//TableHeightIssue.doc", SaveFormat.Doc) Converting PDF to DOCX ====================== C# == // Open pdf document // Instantiate DocSaveOptions object // Specify the output format as DOCX saveOptions.Format = DocSaveOptions.DocFormat.DocX; // Save document in docx format pdfDocument.Save("output.docx", saveOptions); VB.NET ====== ' Open pdf document Dim pdfDocument As Document = New Document("source.pdf") ' Instantiate DocSaveOptions object ' Specify the output format as DOCX saveOptions.Format = DocSaveOptions.DocFormat.DocX ' Save document in DOCX format pdfDocument.Save("output.docx", saveOptions)
URL: http://goo.gl/OGshz4