Cross Platform Support

Designed for C#, F#, & VB.NET running on .NET 6, 5, Core, Standard, or Framework

C# .NET HTML-to-PDF

When you need your PDF to look like HTML, fast. Licenses from $499.

A C# Library that prioritizes accuracy, ease of use, and speed.
Version: 2022.7 available now.

Compatibility

.NET Languages:

  • C#
  • VB.NET
  • F#

Platforms:

  • .NET 6 & 5
  • .NET Core 3x & 2x
  • .NET Standard 2
  • .NET Framework 4x

App Types:

  • Console, Web, & Desktop

OS:

  • Microsoft Windows
  • macOS
  • Linux (Debian, CentOS, Ubuntu)
  • Docker (Windows, Linux, Azure)
  • Azure (VPS, Webapps)

IDEs:

  • Microsoft Visual Studio
  • Jetbrains ReSharper & Rider

Generating PDFs

HTML to PDF:

  • HTML File to PDF
  • HTML String to PDF
  • URL to PDF
  • ASPX to PDF
  • Razor to PDF
  • MVC View to PDF

Convert Images:

  • Image to PDF
  • PDF to Image

Apply Settings:

  • Base 64 Encoding
  • Base URLs
  • Custom File Paths

Supports:

  • Website & System Logins
  • Cookies
  • HTTP Headers
  • Async & Multithreading

Formatting PDFs

Use HTML Assets:

  • HTML (5 and below)
  • CSS (Screen & Print)
  • Images (jpg, png, gif, tiff, svg, bmp)
  • JavaScript (+ Render Delays)
  • Fonts (Web & Icon)

Set View:

  • Responsive Layouts
  • Virtual Viewport & Zoom

Apply Templates:

  • Headers & Footers
  • Page Numbers
  • Page Breaks

Apply Page Settings:

  • Custom Paper Size
  • Orientation & Rotation
  • Margins (mm, inch, & zero)
  • Color & Grayscale
  • Resolution & JPEG Quality

International Languages:

  • UTF-8 HTML Encoding

Manipulating PDFs

Change Page Structure:

  • Merge & Split PDFs
  • Add, Copy, & Delete Pages

Edit Content:

  • Text Find and Replace
  • Add New HTML Content
  • Add Headers & Footers
  • Stamp & Watermark
  • Backgrounds & Foregrounds
  • Add & Edit Annotations
  • Outlines & Bookmarks
  • Attachments

Use Forms:

  • Create & Edit PDF Forms
  • Fill Existing PDF Forms

Apply Document Settings:

  • PDF Metadata
  • Permissions & Passwords
  • Digital Signatures

Print a PDF:

  • Print to a Physical Printer

Read a PDF:

  • Extract Text & Images

Trusted by Over 2 Million Engineers Worldwide

Aetna logo
NASA logo
WWF logo
United States of America, Department of State seal
Nascar logo
3M logo
gsk logo
Hertz logo
Pizza Hut logo
Qualcom logo
ge logo
Porsche logo

Ready to get started? Version: 2022.7 just released

Free NuGet Download Total downloads: 3,793,736 View Licenses >