HiQPdf.Next.HtmlToPdf.Linux
19.0.3
Prefix Reserved
See the version list below for details.
dotnet add package HiQPdf.Next.HtmlToPdf.Linux --version 19.0.3
NuGet\Install-Package HiQPdf.Next.HtmlToPdf.Linux -Version 19.0.3
<PackageReference Include="HiQPdf.Next.HtmlToPdf.Linux" Version="19.0.3" />
<PackageVersion Include="HiQPdf.Next.HtmlToPdf.Linux" Version="19.0.3" />
<PackageReference Include="HiQPdf.Next.HtmlToPdf.Linux" />
paket add HiQPdf.Next.HtmlToPdf.Linux --version 19.0.3
#r "nuget: HiQPdf.Next.HtmlToPdf.Linux, 19.0.3"
#:package HiQPdf.Next.HtmlToPdf.Linux@19.0.3
#addin nuget:?package=HiQPdf.Next.HtmlToPdf.Linux&version=19.0.3
#tool nuget:?package=HiQPdf.Next.HtmlToPdf.Linux&version=19.0.3
HiQPdf Next HTML to PDF Converter for .NET (Linux x64)
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 Linux x64 platforms.
It installs the Linux x64 runtime. For Linux ARM64, the additional package HiQPdf.Next.HtmlToPdf.Linux.Arm64 can be referenced on its own or alongside this package.
For Windows x64, Windows ARM64 and macOS ARM64, the packages HiQPdf.Next.HtmlToPdf.Windows, HiQPdf.Next.HtmlToPdf.Windows.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:
- Linux (x64) - Debian 11+, Ubuntu 20.04+ or equivalent
- .NET 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0
- Azure App Service, Functions, Container Apps and AKS for Linux
- AWS Elastic Beanstalk, Lambda, ECS and EKS
- Google Cloud Run and GKE
- Linux Virtual Machines
- Docker containers and Kubernetes for Linux
- 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:
- Azure: Azure App Service on Linux, Azure Functions on Linux and Azure Container Apps
- AWS: AWS Elastic Beanstalk on Linux, AWS Lambda and Amazon ECS on AWS Fargate
- Google Cloud: Google Cloud Run
- Containers: Docker on Linux and Kubernetes (AKS, EKS and GKE)
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.Linux
On Linux platforms, installing some dependency system packages might be necessary, depending on the Linux distribution and version used.
On Ubuntu 20.04, 22.04, 24.04, 25.04 or Debian 12, the dependencies can be installed with the command:
sudo apt update && sudo apt install -y libnss3 libatk-bridge2.0-0 libcairo2 libpango-1.0-0
On Red Hat 9.5 or Amazon Linux 2023, the dependencies can be installed with the command:
sudo dnf install -y nss at-spi2-atk cairo pango
On Linux, the hiqpdf_loadhtml file from the output folder of the application must have execution permissions:
chmod +x hiqpdf_runtimes/linux-x64/native/hiqpdf_loadhtml
Detailed instructions for installing Linux dependencies are available in the online documentation, in the Getting Started on Linux guide and in the publish guides for Docker, Azure App Service, Azure Functions, Azure Container Apps, AWS Elastic Beanstalk, AWS Lambda, Amazon ECS, Google Cloud Run and Kubernetes on Linux.
Related packages
HTML to PDF Converter packages
- HiQPdf.Next.HtmlToPdf (Multi-platform)
- HiQPdf.Next.HtmlToPdf.Windows (Windows x64)
- HiQPdf.Next.HtmlToPdf.Windows.Arm64 (Windows ARM64)
- HiQPdf.Next.HtmlToPdf.Linux (Linux x64)
- HiQPdf.Next.HtmlToPdf.Linux.Arm64 (Linux ARM64)
- HiQPdf.Next.HtmlToPdf.MacOS (macOS ARM64)
Full library packages
- HiQPdf.Next (Multi-platform)
- HiQPdf.Next.Windows (Windows x64)
- HiQPdf.Next.Windows.Arm64 (Windows ARM64)
- HiQPdf.Next.Linux (Linux x64)
- HiQPdf.Next.Linux.Arm64 (Linux ARM64)
- HiQPdf.Next.MacOS (macOS ARM64)
Other HiQPdf.Next component packages
- HiQPdf.Next.Core: Core PDF API (create, edit, merge and secure PDF documents)
- HiQPdf.Next.WordToPdf: Word to PDF
- HiQPdf.Next.ExcelToPdf: Excel to PDF
- HiQPdf.Next.RtfToPdf: RTF to PDF
- HiQPdf.Next.MarkdownToPdf: Markdown to PDF
- HiQPdf.Next.PdfProcessor: PDF Processor (PDF to text, PDF to images, extract images)
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.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- HiQPdf.Next.Core.Linux (= 19.0.3)
- HiQPdf.Next.Runtime.linux-x64 (= 19.0.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on HiQPdf.Next.HtmlToPdf.Linux:
| Package | Downloads |
|---|---|
|
HiQPdf.Next.Linux
HiQPdf Next for .NET (Linux 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 Linux x64 runtime. For Linux ARM64, the additional package HiQPdf.Next.Linux.Arm64 can be referenced on its own or alongside this package. Separate packages are available for Windows, macOS or multi-platform runtimes. Compatibility: * Linux (x64) - Debian 11+, Ubuntu 20.04+ or equivalent * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0 * Azure, AWS and Google Cloud for Linux * Linux Virtual Machines * Docker containers and Kubernetes for Linux * 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.Linux
HiQPdf Library for .NET (Classic API on the Next Engine, Linux 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 Linux 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 Linux x64 runtime. Separate packages are available for Windows x64, Windows ARM64, Linux ARM64 and macOS ARM64. Compatibility: * Linux x64: Ubuntu, Debian, Red Hat, Amazon Linux and other distributions * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0 * Azure App Service and Azure Functions for Linux, AWS and Google Cloud * Docker containers and Kubernetes * 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.
