HiQPdf.Client 18.0.0

Prefix Reserved
dotnet add package HiQPdf.Client --version 18.0.0
                    
NuGet\Install-Package HiQPdf.Client -Version 18.0.0
                    
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.Client" Version="18.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HiQPdf.Client" Version="18.0.0" />
                    
Directory.Packages.props
<PackageReference Include="HiQPdf.Client" />
                    
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.Client --version 18.0.0
                    
#r "nuget: HiQPdf.Client, 18.0.0"
                    
#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.Client@18.0.0
                    
#: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.Client&version=18.0.0
                    
Install as a Cake Addin
#tool nuget:?package=HiQPdf.Client&version=18.0.0
                    
Install as a Cake Tool

HiQPdf Client Library for .NET

HiQPdf Logo Image

Multi-Platform PDF Library for .NET | HTML to PDF Library for .NET | Free Trial Download | Licensing

HiQPdf Client Library for .NET offers you a modern, simple, fast, flexible and powerful tool to create complex and stylish PDF documents in .NET applications with just a few lines of C# code.

HiQPdf Client Library includes the fastest and most precise HTML to PDF conversion technology. You can easily design a document in HTML with CSS3, JavaScript, SVG or Web Fonts and then convert it to PDF preserving the exact content and style.

The library is much more than just an HTML to PDF converter. It is a complete PDF library that you can use to create new PDF documents and edit existing PDF documents, extract text and images from PDF, search text in PDF, rasterize PDF pages to images or convert PDF to HTML.

Library Features

  • HTML to PDF Converter to quickly create with very high accuracy PDF documents from HTML documents with advanced support for CSS, JavaScript, Web Fonts and SVG. The converter can automatically create table of contents, bookmarks and internal links from HTML document structure
  • HTML to Image Converter to take snapshots of web pages and produce raster images in various formats like PNG, JPG, BMP
  • HTML to SVG Converter to create high quality vector images in SVG format from HTML
  • PDF to Image Converter allows you to rasterize PDF document pages to images and produce a separate image for each PDF page or to create a multi-page TIFF image for the entire PDF document
  • PDF to HTML Converter offers the possibility to create HTML documents from PDF pages and also to produce an index file for the entire document
  • PDF to Text Converter can extract the text from PDF documents with various options like preserving the original text order or the reading order, marking the page breaks with special characters
  • Search text in PDF functionality allows you to search and highlight text in PDF document pages
  • Extract images from PDF to get the images embedded in PDF documents preserving image transparency
  • Create PDF Documents in a classic manner laying out PDF objects like text, HTML, SVG, images and graphics to an empty document
  • Security and Digital Signatures feature allows you to create encrypted, password protected, digitally signed PDF documents
  • Interactive Features like PDF forms, text notes, internal links and JavaScript actions
  • Merge PDF feature allows you to combine multiple PDF documents into a single one
  • Stamp PDF to apply HTML, text and image content which repeats on each PDF page

Compatible Platforms

HiQPdf Client Library for .NET has builds for .NET Standard 2.0 and .NET Framework 4.0 and its compatibility list includes:

  • .NET 10, 9, 8, 7, 6, 5, .NET Standard 2.0 and later versions
  • .NET Framework 4.8.1, 4.7.2, 4.6.1, 4.0 and later versions
  • Windows, Linux and macOS operating systems
  • Azure App Service, Azure Functions or any other Azure application built with .NET
  • Any type of Web, Desktop or Console application for .NET

Start Using HiQPdf

Before using the client library it is necessary to install the HiQPdf Server. The server can run as a Windows Service or as an Azure Cloud Service. The server can be accessed with an IP address and a port number which are assigned when the server is installed.

HiQPdf Server Installation

You can Download HiQPdf Server as a ZIP file and extract it in a root folder on your computer. Follow the detailed instructions in the Installation Guide.pdf document to install the server and get the server IP address that you will use in the client applications. For quick testing you can install the Windows Service on localhost with default options and in this case the assigned IP address is 127.0.0.1.

After server installation you are ready to use the client library in your .NET applications. You can start by copying the C# code below in your application or you can start with the demo applications for .NET from the downloadable product packages.

C# Code Samples for HTML to PDF

The C# code samples below show how to quickly produce PDF documents from HTML pages or HTML code and save the resulting PDF to a memory buffer, to a PDF file or send it to the browser for download when created in ASP.NET applications.

At the top of your C# source file you have to add the using HiQPdfClient; instruction to make the HiQPdfClient namespace available to your application code.

// Include the HiQPdfClient namespace at the top of your C# file
using HiQPdfClient;

You can use the C# code below to convert HTML code or an HTML page from a given URL to a PDF file.

// Create the HTML to PDF converter object
string server_ip_address = "127.0.0.1";
HtmlToPdf converter = new HtmlToPdf(server_ip_address);

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

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

Alternatively you can produce the PDF document in a memory buffer that you can further save to a file on the server.

// Create the HTML to PDF converter object
string server_ip_address = "127.0.0.1";
HtmlToPdf converter = new HtmlToPdf(server_ip_address);

// 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);

// 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);

The C# code below can be used in your ASP.NET Core and ASP.NET MVC applications to convert HTML code to PDF in a memory buffer and then send the PDF data for download to the browser.

// Create the HTML to PDF converter object
string server_ip_address = "127.0.0.1";
HtmlToPdf converter = new HtmlToPdf(server_ip_address);

// 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;

The C# code below can be used in your ASP.NET Web Forms applications to convert HTML code to PDF in a memory buffer and then send the PDF data for download to the browser.

// Create the HTML to PDF converter object
string server_ip_address = "127.0.0.1";
HtmlToPdf converter = new HtmlToPdf(server_ip_address);

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

HttpResponse httpResponse = HttpContext.Current.Response;
httpResponse.AddHeader("Content-Type", "application/pdf");
httpResponse.AddHeader("Content-Disposition",
    String.Format("attachment; filename=html_to_pdf.pdf; size={0}",
    htmlToPdfData.Length.ToString()));
httpResponse.BinaryWrite(htmlToPdfData);
httpResponse.End();

Free Trial Download

You can download the evaluation package for .NET from HiQPdf Downloads web page.

The evaluation package for .NET contains the product binaries and demo projects with full C# code for .NET Framework and .NET Core.

Licensing

The licensing model is simple and flexible. The licenses are perpetual and there is no limit to the number of machines where you can deploy your applications using the HiQPdf library. The same license works with the regular HiQPdf library for .NET and with the client library for .NET. You can find more details about licensing on the Online Purchase web page.

Support

For support and questions please use the email addresses from the contact web page.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
18.0.0 751 2/12/2026