Skip to content

Instantly share code, notes, and snippets.

View Dpescador's full-sized avatar

Diego Pescador Dpescador

View GitHub Profile
@Dpescador
Dpescador / Convert-PDF-to-Word.cs
Created April 15, 2025 01:08 — forked from conholdate-gists/Convert-PDF-to-Word.cs
Convert PDF to Word using C#
// Initialize an object of the Document class and load the source PDF file
Document pdfDocument = new Document( "sample.pdf");
// Save the file into DOC format by invoking Save method
pdfDocument.Save( "PDFToDOC_out.doc", SaveFormat.Doc);