IronPDF Features

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

Compatibility

.NET Languages

Platforms

  • .NET 5, 6 and 7 (Tutorial), .NET Core 2 and 3 (Tutorial)
    • IronPDF is available for .NET 5, 6 and 7.
    • IronPDF is also available for .NET Core 2 and 3.
    • 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 (API Reference)
    • IronPDF is compatible with .NET Standard 2.0 and upwards.
  • .NET Framework 4.6.2+ (Code Example | API Reference)
    • Generate and manipulate PDFs with .NET Framework 4.6.2 and upwards.

App Types

  • Console, Web, & Desktop (Tutorial | API Reference)
    • Create apps for Web, Desktop and Console utilizing IronPDF.

OS

IDEs

Certification

  • Microsoft Authenticode
    • DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1

Generating PDFs

HTML to PDF

File Conversion

Apply Settings (How-To)

  • Base 64 Encoding
    • Automatically embed images and external files into a single HTML template using the built-in Base64 utility.
  • Base URLs
    • Configure base URLs for HTML Documents, Headers, and Footers so that assets may be loaded from local or external locations.
  • Custom File Paths
    • Set up Custom File Paths on a local disk or network to load HTML assets from.

Supports

  • Website & System Logins (How-To | Code Example | API Reference)
    • Render web pages as PDFs on secure intranets, extranets, and websites.
  • Cookies
    • Allows for custom cookies to be posted with every HTML request. Useful for sessions and logins.
  • HTTP Headers
    • A dictionary of custom HTTP headers that can be sent with any HTTP Request
  • 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.

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 (+ Render Delays) (How-To | Code Example)
    • Render JavaScript in PDF documents.
  • Fonts (Web & Icon) (How-To | API Reference)
    • Render Web and Icon Fonts in PDF documents.

Set View

  • Responsive Layouts (Code Example | API Reference)
    • IronPDF can render responsive HTML with CSS3 into PDF documents.
  • Virtual Viewport & 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

Apply Templates

  • Headers & Footers (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.
  • Page Numbers (Code Example | Tutorial)
    • Add Page Numbers to one or many pages.
  • Page Breaks (How-To | Code Example)
    • Create HTML Page Breaks.

Apply Page Settings

International Languages

  • UTF-8 HTML 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.

Editing PDFs

Edit 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.
  • Add, Copy, & Delete Pages (How-To | Code Example)
    • Add, copy and delete PDF pages from and to existing PDF documents.
  • PDF Metadata (Code Example | API Reference)
    • Add granular meta-data such as:
    • Author
    • Keywords
    • ModifiedDate
  • Permissions & Passwords (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 (How-To | Code Example | API Reference)
    • Cryptographically sign PDF digital certificates.
    • 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
  • Attachments (Code Example | API Reference)
    • Add and remove attachments from a PDF.
  • Compression (Code Example | API Reference)
    • Reduce overall PDF size but compressing images in the document.

Edit Content

  • Text Find and Replace (Code Example | API Reference)
  • Add New HTML Content
    • Create PDFs from a range of sources and add styling to documents.
    • Add new content to PDF pages using HTML, JavaScript and CSS.
  • Add 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 & Watermark (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.
  • Add & Edit Annotations (Code Example | API Reference)
    • Create Annotations for PDF documents and set Annotation attributes including:
    • Icon
    • Opacity
    • Contents
    • Title
    • Rotation
  • Outlines & Bookmarks (Code Example | API Reference)
    • Create, edit and remove outlines, “bookmarks”, and nested bookmarks in your PDF.

Use Forms

  • Create & Edit PDF Forms (Code Example | Tutorial | API Reference)
    • Create and edit HTML forms in PDF documents with the following attributes:
    • Use Form, Text Area and Input tags inside your 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.

Send PDF to a Printer

  • Print to a Physical Printer (How-To | Code Example | API Reference)
    • Print to paper in the following manner:
    • 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

Read a PDF

  • Extract Text & Images (How-To | Code Example | API Reference)
    • Read PDF text and images by:
    • Extracting all text from a PDF document or from certain pages
    • Extracting fragments of text
    • Add PDFs into web and application search indexes
    • Extracting embedded images from PDF documents
    • Extracting entire PDF pages as images