See the version list below for details.
dotnet add package itext.pdfhtml --version 5.0.1
NuGet\Install-Package itext.pdfhtml -Version 5.0.1
<PackageReference Include="itext.pdfhtml" Version="5.0.1" />
paket add itext.pdfhtml --version 5.0.1
#r "nuget: itext.pdfhtml, 5.0.1"
// Install itext.pdfhtml as a Cake Addin
// Install itext.pdfhtml as a Cake Tool
With just few lines of code you can use pdfHTML to get great results in no time.
In addition to simply converting HTML to PDF, you can also use pdfHTML to generate well-formatted, well-structured PDF documents such as reports, invoices etc. using HTML as a template format. You can define styling with CSS and pdfHTML provides the engine for PDF conversion. It re-uses the structural information from the HTML to easily create PDF/A, PDF/UA, or Tagged PDFs. There is no need to know the technical details of the PDF format. pdfHTML utilizes semantic and structural information already present in the HTML and CSS and maps them to iText objects and styles.
pdfHTML provides a convenience API which allows you to convert HTML to PDF files or to a list of iText elements. This gives you full control over how to parse and insert the HTML elements. When using pdfHTML to convert HTML to PDF you will realize another great advantage. Semantic and structural information contained in the HTML files is an excellent source for pdfHTML to convert the HTML files into rich, smart PDF documents.
- Leverage HTML flexibility in PDF o Convert HTML5 and CSS3 to PDF o The conversion is customizable, dynamic and simple through an easy to use API o SVG support
- Conversion options o Convert a full document to PDF directly o Convert an HTML snippet to "iText building blocks", e.g. an HTML rich text paragraph into an iText Paragraph object.
- Customizable o Add dynamic content to your PDF such as barcodes. o Leverage converter properties and custom processing of tags to fine-tune your conversion.
- Use the structural and semantic information from HTML to create standards-compliant PDF documents like PDF/A, PDF/UA or Tagged PDFs.
You can also find its API here.
Try our code in our developer sandbox or use our free apps, all in our iText Demo Lab.
|Versions Compatible and additional computed target framework versions.
|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.
|netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
|netstandard2.0 is compatible. netstandard2.1 was computed.
|net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.
|monoandroid was computed.
|monomac was computed.
|monotouch was computed.
|tizen40 was computed. tizen60 was computed.
|xamarinios was computed.
|xamarinmac was computed.
|xamarintvos was computed.
|xamarinwatchos was computed.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on itext.pdfhtml:
pdfHTML is an iText add-on for C# (.NET) that allows you to easily convert HTML and CSS into standards compliant PDFs that are accessible, searchable and usable for indexing.
This package is not used by any popular GitHub repositories.