Converting MS Word DOCX Documents to PDF in C#
Summary
If you need to programmatically convert an MS Word document in RTF, DOC or DOCX formats to PDF, TX Text Control provides an easy-to-use library to accomplish this task. The following tutorial shows how to create a simple .NET 6 C# Console App to convert MS Word documents to PDF that uses the Server ╰ TX Text Control .NET Server for ASP.NET ╰ TXTextControl Namespace ╰ ServerTextControl Class The ServerTextControl class implements a component that provide high-level text processing features for server-based applications. • Select the newly created folder and choose Add Existing Item... from the Project main menu. Select any MS Word document from your local machine and click the Add button to confirm. • Select the newly created file and set the Copy to Output Directory property to true.