Created
September 24, 2019 10:15
-
-
Save GroupDocsGists/2da7cda82747f498b84deb267669b355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string documentPath = @"C:\sample.docx"; | |
string outputPath = @"C:\output\converted.pdf"; | |
using (Converter converter = new Converter(documentPath)) | |
{ | |
PdfConvertOptions convertOptions = new PdfConvertOptions(); | |
converter.Convert(outputPath, convertOptions); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment