在 .NET 7 中将 HTML 转换为 PDF

11月 9, 2023
允许用户在您 .NET 7 应用中将 HTML 文件转换为 PDF,使其更易于存档和共享。

继续用英语阅读:

Converting HTML to PDF is a versatile and convenient way to create, share, and archive documents. It preserves the original formatting and layout of an HTML document and the converted PDF can be viewed on any device with a PDF reader.

Several .NET 7 PDF components provide HTML to PDF conversion, including:

  • IronPDF for .NET includes a high-fidelity HTML to PDF converter that uses the Chromium engine to render HTML files with pixel-perfect accuracy, making it easy to create professional-looking PDFs from any web page.
  • Document Solutions for PDF by MESCIUS provides an HTML to PDF conversion service that can be used to convert single or batch HTML files to high-quality PDFs, while preserving the original formatting and layout.
  • ExpertPDF HtmlToPdf Converter by Outside Software is a .NET library that enables developers to easily convert HTML files to PDF files with high fidelity, including support for complex HTML5 and CSS3 features.
  • Aspose.PDF for .NET allows developers to convert HTML to PDF with ease, while providing fine-grained control over the conversion process and preserving the original formatting.

For an in-depth analysis of features and price, visit our comparison of .NET PDF components.

Compare .NET PDF Components