Skip to content

Instantly share code, notes, and snippets.

View k-elsheikh's full-sized avatar

Khaled ElSheikh k-elsheikh

View GitHub Profile
@ArthurEzenwanne
ArthurEzenwanne / WordPDFConvert.cs
Last active July 7, 2023 06:21
C# code to convert .docx to .pdf using Microsoft.Office.Interop.Word
using System;
using Microsoft.Office.Interop.Word;
using Word = Microsoft.Office.Interop.Word;
namespace WordToPDFConsoleApp
{
class Program
{
static void Main(string[] args)
{