HiQPdf.Next.HtmlToPdf.Windows 19.0.10

Prefix Reserved
dotnet add package HiQPdf.Next.HtmlToPdf.Windows --version 19.0.10
                    
NuGet\Install-Package HiQPdf.Next.HtmlToPdf.Windows -Version 19.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HiQPdf.Next.HtmlToPdf.Windows" Version="19.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HiQPdf.Next.HtmlToPdf.Windows" Version="19.0.10" />
                    
Directory.Packages.props
<PackageReference Include="HiQPdf.Next.HtmlToPdf.Windows" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HiQPdf.Next.HtmlToPdf.Windows --version 19.0.10
                    
#r "nuget: HiQPdf.Next.HtmlToPdf.Windows, 19.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HiQPdf.Next.HtmlToPdf.Windows@19.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HiQPdf.Next.HtmlToPdf.Windows&version=19.0.10
                    
Install as a Cake Addin
#tool nuget:?package=HiQPdf.Next.HtmlToPdf.Windows&version=19.0.10
                    
Install as a Cake Tool

HiQPdf Next HTML to PDF Converter for .NET (Windows x64)

HiQPdf Next HTML to PDF Library Logo

HiQPdf Next HTML to PDF for .NET | PDF Library for .NET | HiQPdf Software | Free Trial | Licensing | Support

Overview

HiQPdf Next HTML to PDF Converter for .NET is a core component of the HiQPdf Next Library for .NET that uses an advanced, highly accurate and reliable Chromium-based rendering engine to process modern HTML, CSS and JavaScript content in compliance with the latest standards.

The converter targets .NET Standard 2.0 and can be used in .NET Core and .NET Framework applications deployed on Windows, Linux and macOS, including Azure, AWS, Google Cloud, Docker and Kubernetes.

Package structure

HiQPdf Next for .NET has a modular architecture, with separate NuGet packages for each major component to prevent unnecessary files from being included in your applications.

This metapackage references all HiQPdf Next for .NET NuGet packages required to run the HTML to PDF Converter component on Windows x64 platforms.

It installs the Windows x64 runtime. For Windows ARM64, the additional package HiQPdf.Next.HtmlToPdf.Windows.Arm64 can be referenced on its own or alongside this package.

For Linux x64, Linux ARM64 and macOS ARM64, the packages HiQPdf.Next.HtmlToPdf.Linux, HiQPdf.Next.HtmlToPdf.Linux.Arm64 and HiQPdf.Next.HtmlToPdf.MacOS can be referenced on their own or alongside this package.

Compatibility

The compatibility list of this package includes the following platforms:

  • Windows 10, 11 and Windows Server 2016 to 2025 (x64)
  • .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0
  • .NET Framework 4.6.2 to 4.8.1
  • Azure App Service and Azure Functions for Windows
  • AWS Elastic Beanstalk for Windows
  • Windows Virtual Machines
  • Docker containers for Windows
  • Web, Console and Desktop applications

Cloud deployment

The online documentation has a publish guide for each platform, with the complete steps and the settings the library needs:

Main Features

  • Convert HTML with CSS, web fonts and JavaScript to PDF
  • Support modern web standards and technologies
  • Generate PDF/UA compliant tagged documents for accessibility
  • Generate PDF/A compliant documents for archiving
  • Add page numbering in PDF headers and footers from HTML
  • Add HTML stamps with page numbering and rotation
  • Repeat HTML table headers and footers in PDF pages
  • Control PDF page breaks with CSS in HTML
  • Create outlines and tables of contents from heading tags
  • Convert HTML form controls to interactive PDF form fields
  • Convert or exclude specific HTML regions
  • Retrieve HTML element positions in the PDF
  • Trigger conversion automatically or manually
  • Render for screen or print media
  • Set PDF security, viewer settings and signatures
  • Set HTTP headers and cookies
  • Use GET and POST requests
  • Convert HTML to JPEG, PNG and WebP images
  • Convert SVG to PDF
  • Asynchronous methods for async/await

Installation

Install the package using your preferred NuGet package manager or with the .NET CLI:

dotnet add package HiQPdf.Next.HtmlToPdf.Windows

On Windows platforms, the HiQPdf Next runtime does not require the installation of additional dependencies.

HTML to PDF Converter packages

Full library packages

Other HiQPdf.Next component packages

HiQPdf.Next namespace

All components of the HiQPdf Next for .NET library share the same namespace HiQPdf.Next and can be used together in the same application.

To use the library in your own code, add the following using directive at the top of your C# source file:

using HiQPdf.Next;

Getting Started

For documentation and code samples, please visit: https://www.hiqpdf.com/hiqpdf-next-html-to-pdf-dotnet

You can copy the C# code lines from the section below to create a PDF document from a web page or from an HTML string and save the resulting PDF to a memory buffer for further processing, to a PDF file or send it to the browser for download in ASP.NET applications.

C# Code Samples

To convert an HTML string or a URL to a PDF file you can use the C# code below.

// Create the HTML to PDF converter object
HtmlToPdf converter = new HtmlToPdf();

// Convert the HTML code to a PDF file
converter.ConvertHtmlToFile("<b>Hello World</b> from HiQPdf !", null, "html_to_file.pdf");

// Create a new converter object for each conversion
converter = new HtmlToPdf();

// Convert the HTML page from URL to a PDF file
string urlToConvert = "https://www.hiqpdf.com";
converter.ConvertUrlToFile(urlToConvert, "url_to_file.pdf");

To convert an HTML string or a URL to a PDF document in a memory buffer and then save it to a file you can use the C# code below.

// Create the HTML to PDF converter object
HtmlToPdf converter = new HtmlToPdf();

// Convert the HTML code to memory
byte[] htmlToPdfData = converter.ConvertHtmlToMemory("<b>Hello World</b> from HiQPdf !", null);

// Save the PDF data to a file
System.IO.File.WriteAllBytes("html_to_memory.pdf", htmlToPdfData);

// Create a new converter object for each conversion
converter = new HtmlToPdf();

// Convert the HTML page from URL to memory
string urlToConvert = "https://www.hiqpdf.com";
byte[] urlToPdfData = converter.ConvertUrlToMemory(urlToConvert);

// Save the PDF data to a file
System.IO.File.WriteAllBytes("url_to_memory.pdf", urlToPdfData);

To convert in your ASP.NET Core applications an HTML string or a URL to a PDF document in a memory buffer and then send it for download to the browser you can use the C# code below.

// Create the HTML to PDF converter object
HtmlToPdf converter = new HtmlToPdf();

// Convert the HTML code to memory
byte[] htmlToPdfData = converter.ConvertHtmlToMemory("<b>Hello World</b> from HiQPdf !", null);

FileResult fileResult = new FileContentResult(htmlToPdfData, "application/pdf");
fileResult.FileDownloadName = "html_to_pdf.pdf";
return fileResult;

Free Trial

You can download the HiQPdf Next for .NET evaluation package from HiQPdf Downloads page of the website.

The evaluation package contains a demo ASP.NET application with full C# code for all features of the library.

You can evaluate the library for free as long as it is needed to ensure that the solution fits your application needs.

Licensing

The HiQPdf Software licenses are perpetual which means they never expire for a version of the product and include free maintenance for the first year. You can find more details about licensing on the website.

Set the serial number once, before the first conversion:

HiQPdf.Next.Licensing.SerialNumber = "your-serial-number";

Without a serial number the library runs in demo mode.

Support

For technical and sales questions or for general inquiries about our software and company you can contact us using the email addresses from the contact page of the website.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on HiQPdf.Next.HtmlToPdf.Windows:

Package Downloads
HiQPdf.Next.Windows

HiQPdf Next for .NET (Windows x64) can be integrated into your applications to create, edit and merge PDF documents, convert HTML to PDF or images, convert Word, Excel, RTF and Markdown to PDF, extract text and images from PDFs, search text in PDFs and convert PDF pages to images. The library targets .NET Standard 2.0 and can be used in .NET Core and .NET Framework applications deployed on Windows, Linux and macOS, including Azure, AWS, Google Cloud, Docker and Kubernetes. This package installs only the Windows x64 runtime. For Windows ARM64, the additional package HiQPdf.Next.Windows.Arm64 can be referenced on its own or alongside this package. Separate packages are available for Linux, macOS or multi-platform runtimes. Compatibility: * Windows 10, 11 and Windows Server 2016 to 2025 (x64) * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, .NET Standard 2.0 * .NET Framework 4.6.2 to 4.8.1 * Azure App Service and Azure Functions for Windows * Windows Virtual Machines * Docker containers for Windows * Web, Console and Desktop applications Main Features: * Create, edit and merge PDF documents * Create PDF/UA and PDF/A compliant documents * Apply HTML stamps, headers and footers to PDFs * Generate password-protected and digitally signed PDFs * Convert HTML with CSS, web fonts and JavaScript to PDF * Generate PDF/UA and PDF/A compliant documents from HTML * Convert HTML to JPEG, PNG and WebP images * Convert SVG to PDF * Convert Word DOCX to PDF * Convert Excel XLSX to PDF * Convert RTF to PDF * Convert Markdown to PDF * Convert PDF to text * Search text in PDF documents * Convert PDF pages to images * Extract images from PDF pages Documentation and code samples: https://www.hiqpdf.com/hiqpdf-next-dotnet

HiQPdf.Next.HtmlToPdf

HiQPdf Next HTML to PDF Converter for .NET (Multi-platform) uses a highly accurate and reliable Chromium-based rendering engine to process modern and complex HTML, CSS and JavaScript content in compliance with the latest standards. The converter targets .NET Standard 2.0 and can be used in .NET Core and .NET Framework applications deployed on Windows, Linux and macOS, including Azure, AWS, Google Cloud, Docker and Kubernetes. This multi-platform metapackage installs the Windows x64 and Linux x64 runtimes. For Windows ARM64, Linux ARM64 and macOS ARM64, the additional packages HiQPdf.Next.HtmlToPdf.Windows.Arm64, HiQPdf.Next.HtmlToPdf.Linux.Arm64 and HiQPdf.Next.HtmlToPdf.MacOS can be referenced on their own or alongside this package. Compatibility: * Windows 10, 11 and Windows Server 2016 to 2025 (x64) * Linux (x64) - Debian 11+, Ubuntu 20.04+ or equivalent * Windows, Linux and macOS (ARM64) - via additional packages * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0 * .NET Framework 4.6.2 to 4.8.1 * Azure, AWS and Google Cloud * Virtual Machines * Docker containers and Kubernetes * Web, Console and Desktop applications Main Features: * Convert HTML with CSS, web fonts and JavaScript to PDF * Support modern web standards and technologies * Generate PDF/UA and PDF/A compliant documents * Add HTML with page numbers in headers, footers and stamps * Repeat HTML table headers and footers in PDF pages * Control PDF page breaks with CSS in HTML * Create outlines and tables of contents from heading tags * Convert HTML forms to interactive PDF forms * Convert or exclude specific HTML regions * Retrieve HTML element positions in the PDF * Trigger conversion automatically or manually * Render for screen or print media * Set PDF security, viewer settings and signatures * Set HTTP headers and cookies * Use GET and POST requests * Convert HTML to images * Convert SVG to PDF * Asynchronous methods for async/await

HiQPdf.Windows

HiQPdf Library for .NET (Classic API on the Next Engine, Windows x64) runs the Classic HiQPdf API on the Chromium-based rendering engine of HiQPdf Next. It converts HTML to PDF and creates PDF documents in .NET applications on Windows x64 with the HiQPdf namespace (HtmlToPdf, HtmlToImage, PdfDocument, PdfPage, the drawable and HTML objects, canvases, forms, outlines and security settings) and renders modern HTML, CSS and JavaScript as HiQPdf Next does. An application written for the HiQPdf package keeps its code and changes only the package reference. The serial number is set as before. Each converter gives access to the HiQPdf Next converter it uses, for the options the HiQPdf API has no setting for, such as the PDF standard. This package installs the Windows x64 runtime. Separate packages are available for Windows ARM64, Linux x64, Linux ARM64 and macOS ARM64. Compatibility: * Windows 10, 11 and Windows Server 2016 to 2025 (x64) * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0 * .NET Framework 4.6.2 to 4.8.1 * Azure App Service and Azure Functions for Windows * Docker containers for Windows * Web, Console and Desktop applications Main Features: * Convert HTML to PDF, images and SVG * Create PDF documents with text, HTML, SVG, images and graphics * Create encrypted, password-protected, digitally signed PDF documents * Create PDF documents with forms, text notes, links and JavaScript actions * Merge multiple PDF documents into a single one * Stamp PDF with HTML, text and images Documentation and code samples: https://www.hiqpdf.com/hiqpdf-dotnet

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
19.0.10 284 11/14/2026
Loading failed