This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/dotnet/conversion/word-to-pdf.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. C# .NET Word to PDF: Convert DOC, DOCX to PDF | Nutrient .NET SDK
Word to PDF

Word to PDF is one of the 100+ conversions supported by the .NET PDF conversion SDK.

Converting Word documents to PDF gives you a fixed output format for sharing, printing, and archiving.

Use this workflow when you need to:

  • Preserve document layout across devices
  • Distribute files without Word-version dependencies
  • Store output in a stable document format

Prepare the project

Register the SDK license before running conversion operations. For setup details, refer to the getting started with .NET SDK guide.

using GdPicture14;
LicenseManager license = new LicenseManager();
license.RegisterKEY("");

Create the document converter

Instantiate GdPictureDocumentConverter:

using GdPictureDocumentConverter converter = new GdPictureDocumentConverter();

Load the Word document

Load the source DOCX file:

converter.LoadFromFile(@"input.docx");

Convert to PDF

Save the loaded document as PDF:

converter.SaveAsPDF(@"output.pdf");

Conclusion

This guide converts a Word document to PDF for consistent output across environments.