HtmlRenderer.PdfSharp
PDF document generator from HTML snippet, 100% managed (C#), High performance library using PdfSharp. Features and Benefits: --- * 100% managed code depends only on PdfSharp library, no ActiveX, no MSHTML. * Extensive HTML 4.01 and CSS level 2 specifications support. * Support separating CSS from HTML by loading stylesheet code separately. * Handles "real world" malformed HTML, it doesn't have to be XHTML. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable.
Install
dotnet add package HtmlRenderer.PdfSharp --version 1.5.2
Install-Package HtmlRenderer.PdfSharp -Version 1.5.2
<PackageReference Include="HtmlRenderer.PdfSharp" Version="1.5.2" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.