IronPDF Features

IronPDF is a .NET library allowing developers to create, edit and export PDF documents.

Compatibility

.NET Versions

  • C# (How-To)
    • Generate and edit PDFs in C# with HTML, MVC, ASPX, & images
  • VB.NET (How-To)
    • Generate and edit PDFs in VB.NET with HTML, MVC, ASPX, & images
  • F# (How-To)
    • Generate and edit PDFs in F# with HTML, MVC, ASPX, & images
  • .NET Core (7, 6, 5, and 3.1+)
    • IronPDF is available for .NET 5, 6 and 7. (Tutorial)
    • IronPDF is also available for .NET Core 2 and 3.1+. (Tutorial)
    • The current .NET Core release supports Linux, Unix and macOS client operating systems as well as Mono.
    • A future release will support Mono and Xamarin mobile environments.
  • .NET Standard (2.0+)
    • IronPDF is compatible with .NET Standard 2.0 and upwards.
  • .NET Framework (4.6.2+) (Code Example)
    • Generate and manipulate PDFs with .NET Framework 4.6.2 and upwards.

.NET Project Types

Tutorial | API Reference

  • Web
    • Utilize IronPDF in web applications.
  • Desktop
    • Utilize IronPDF in desktop applications.
  • Console
    • Utilize IronPDF in console applications.

App Environments

  • Windows (10+, Server 2018+) (Tutorial)
    • Create any application using IronPDF on Windows.
  • Linux (Ubuntu, Debian, CentOS, etc.) (Tutorial)
    • Create any application using IronPDF on Linux.
  • Mac (macOS 10+) (Tutorial)
    • Create any application using IronPDF on macOS.
  • Docker (Windows, Linux, Azure) (Tutorial | API Reference)
    • Create any application using IronPDF on Docker.
    • IronPDF Docker Container which can handle the creating, writing, editing, and reading of PDFs. (How-To)
  • Azure (VPS, WebApp, Function) (Tutorial)
    • Create any application using IronPDF on Azure.
  • AWS (EC2, Lambda) (Tutorial)

IDEs

OS & Processors

  • Windows, Mac, Linux
  • x64, x86, ARM

Binary Certification

  • DigiCert Signed Binaries
    • DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1

Generating PDFs

HTML to PDF

Content Pages to PDF

  • Razor to PDF (Blazor Server) (How-To)
    • Convert Razor Pages to a PDFs.
  • CSHTML to PDF (MVC, Razor) (How-To)
    • Convert MVC views to PDFs.
  • ASPX to PDF (WebForms) (How-To | Code Example)
    • Convert ASPX Pages to a PDFs.
  • XAML to PDF (MAUI)
    • Convert XAML views to PDFs.

PDF File Conversion

Supports

  • UTF-8 Character Encoding (Code Example | How-To)
    • Supports all known .NET text encodings and code-pages.
    • Set UTF-8 and HTML Encoding in the following ways:
    • In Print Options using System.Text.Encoding.
    • In the HTML Header.
  • Base URLs & Asset Encoding (How-To)
    • Automatically embed images and external files into a single HTML template using the built-in Base64 utility.
    • Set up Custom File Paths on a local disk or network to load HTML assets from.
    • Configure base URLs for HTML Documents, Headers, and Footers so that assets may be loaded from local or external locations.
  • TLS Website & System Logins (How-To | Code Example | API Reference)
    • Render web pages as PDFs on secure intranets, extranets, and websites.
  • Async & Multithreading (Code Example | API Reference)
    • Async and Thread safety is useful when generating PDFs in batches for high performance, and for stability in high load web applications.
  • Custom Logging
  • Cookies
    • Allows for custom cookies to be posted with every HTML request. Useful for sessions and logins.

Formatting PDFs

Use HTML Assets

  • HTML (5 and below) (How-To | API Reference)
    • Render any HTML content with IronPDF. This content can be any of the following:
    • HTML strings
    • HTML from a URL
    • Local HTML files
  • CSS (Screen & Print) (How-To)
    • Render responsive CSS with IronPDF for:
    • Screen responsive media type
    • Print responsive media type
  • Images (jpg, png, gif, tiff, svg, bmp) (How-To | Code Example)
    • Render any number of images into a PDF document.
  • JavaScript (Custom Render Delays)
  • Fonts (Web & Icon)
    • Render Web and Icon Fonts in PDF documents.

Apply Page Templates

  • Add Headers & Footers (How-To | Code Example | Tutorial | API Reference)
    • Headers and Footers can be added to PDF documents in the following ways:
    • SimpleHeaderFooter for text based headers with dynamic variables.
    • HtmlHeaderFooter for HTML headers and footers with dynamic variables.
  • Add Page Numbers (Code Example | Tutorial)
    • Add Page Numbers to one or many pages.
  • Add Page Breaks (How-To | Code Example)
    • Create HTML Page Breaks.
  • Fit to Paper & Zoom (Code Example | API Reference)
    • By using the Virtual Viewport properties, you can specify the size of the virtual browser window that renders your responsive HTML
  • Custom Margins (Code Example | Tutorial | API Reference)
    • Set Left, Right, Top and Bottom Margins
    • Or have zero Margins

Apply Page Settings

Supports PDF Standards

  • PDF Versions (1.2 - 1.7)
    • Convert and Export PDF/A Compliant Documents. Supported: PDF/A-3b
  • PDF/UA (PDF/UA-1) (How-To | Code Example | API Reference)
    • Convert and Export PDF/UA Compliant Documents. (PDF/Universal Accessibility)
  • PDF/A (PDF/A-3b) (How-To | Code Example | API Reference)
    • Convert and Export PDF/A Compliant Documents. Supported: PDF/A-3b (PDF Archiving)

Editing PDFs

Set Properties & Security

  • Set Password & Permissions (Code Example | API Reference)
    • Set up security settings such as:
    • Disallow copy and paste
    • Disallow forms
    • Disallow Annotations
    • Make the document Read-only
    • Disallow printing
    • Disallow editing
    • Manipulate PDF document passwords by:
    • Open, edit and save encrypted documents
    • Setting PDF document owner and user passwords
    • Removing PDF document passwords
    • Removing and setting PDF document Encryption for passwords
  • Digital Signatures (.pfx, .p12) (How-To | Code Example | API Reference)
    • Cryptographically sign PDF digital certificates.
    • Supports PDF incremental saving with signing.
    • Add a secure digital signature to PDF documents, with options to include:
    • Signature date, time
    • Stamp an image (e.g. company logo, handwritten signature picture)
    • Email or contact info of the signer
    • Location where the document was signed
    • A reason for the signature
  • PDF File Compression (Code Example | API Reference)
    • Reduce overall PDF size but compressing images in the document.
  • Edit PDF Metadata (How-To | Code Example | API Reference)
    • Add granular meta-data such as:
    • Author
    • Keywords
    • ModifiedDate
  • Edit & Sign Revision History (Code Example | API Reference)
    • Add and remove attachments from a PDF.

Edit Document Structure

  • Add, Copy, & Delete Pages (How-To | Code Example)
    • Add, copy and delete PDF pages from and to existing PDF documents.
  • Merge & Split PDFs (How-To | Code Example | API Reference)
    • Merge multiple PDF documents into a single PDF document.
    • Split PDF document pages to form multiple documents.
  • Annotations (How-To | Code Example | API Reference)
    • Create Annotations for PDF documents and set Annotation attributes including:
    • Icon
    • Opacity
    • Contents
    • Title
    • Rotation
  • Attachments (Code Example | API Reference)
    • Add and remove attachments from a PDF.
  • Bookmarks and Outline (Code Example | API Reference)
    • Create, edit and remove outlines, “bookmarks”, and nested bookmarks in your PDF.

Edit Page Content

  • Find and Replace Text (Code Example | API Reference)
  • Headers & Footers (Code Example | API Reference)
    • Create text or HTML Headers and Footers, including templating, for your PDF documents
    • Add text-based headers to PDF documents
    • Add HTML headers and footers to PDF documents
    • Provides templating of dynamic data in HTML headers and footers
  • Stamp Text & Images (Code Example | How-To | API Reference)
    • Add new HTML content to the foreground or background of PDF documents and set various properties for stamping including:
    • Set Stamp position
    • Set Stamp opacity
    • Set Stamp Rotation angles
    • Set Stamp sizes
  • Custom Watermarks (Code Example | How-To | API Reference)
    • Add new HTML content to the foreground or background of PDF documents and set various properties for stamping including:
    • Set Stamp position
    • Set Stamp opacity
    • Set Stamp Rotation angles
    • Set Stamp sizes
  • Backgrounds & Foregrounds (How-To | Code Example | API Reference)
    • Add foreground overlays to existing PDF documents and make use of existing PDFs for backgrounds on other PDF documents.

Use PDF Forms

  • Create & Edit PDF Forms (Code Example | Tutorial | API Reference)
    • Create and edit HTML Input and Text Area forms.
    • Create and edit HTML Checkbox and Combobox forms.
    • Create and edit HTML Radio buttons forms.
    • Populate default values for form fields.
    • Read form data.
  • Fill Existing PDF Forms (Code Example | Tutorial | API Reference)
    • Populate form fields using any of the following methods:
    • Supply default values to existing form fields.
    • Fill in input and text area fields on forms.

View, Read, & Print PDFs

  • IronPDF Viewer
  • Print to a Physical Printer (How-To | Code Example | API Reference)
    • Print PDF documents to a computer’s default printer.
    • Provide a Windows print dialog box for printing.
    • Provide silent and other advanced printing options for non-GUI applications
  • Extract PDF Text & Images (How-To | Code Example | API Reference)
    • Extracting all text from a PDF document or from certain pages
    • Extracting images from an entire or from certain pages of PDF as bitmap and byte.
    • Extracting embedded images from PDF documents