在 .NET C# 中將 DOCX 文件轉換為 PDF

8月 15, 2024
利用強大的 TX Text Control API,高效地將 Microsoft Word 文件以程式方式轉換為 PDF 格式。

繼續用英語閱讀:

TX Text Control .NET Server for ASP.NET is a server-side component that equips developers with a powerful word processing engine for web applications. It integrates seamlessly with ASP.NET, ASP.NET Core, popular frameworks like Angular and React, and JavaScript, allowing you to build dynamic document editing and generation features directly within your web applications. This empowers you to create documents on the fly using data from various sources, edit existing documents in the browser, and handle functionalities like PDF processing and form filling, all on the server-side.

Converting Microsoft Word documents to PDF is a common requirement across a wide range of applications. From dynamic document generation through mail merges with data sources like JSON to create invoices and other deliverables, the final output often requires PDF conversion for distribution. Additionally, PDF/A, an ISO standard, is essential for the secure, long-term archiving of documents. In this blog post, Text Control's Bjoern Meyer shows you how to convert a DOCX file to PDF using TX Text Control in a .NET 8 console application. Steps include:

  • Preparing the application
  • Converting a DOCX file to PDF
  • Applying PDF settings
  • Adding Digital Signatures
  • Creating the PDF/A file

Read the complete blog now and learn how to accomplish this very common task quickly and easily using TX Text Control.

TX Text Control .NET Server for ASP.NET is licensed per Developer and includes Run-time licensing for up to 5 Servers. Licensing is perpetual, and include a 1-year subscription. See our TX Text Control .NET Server for ASP.NET licensing page for more details.

Learn more about TX Text Control .NET Server for ASP.NET.