Skip to main content
.NETStandard2.0

IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects. # C# HTML to PDF for .NET 7, .NET 6, .NET 5, Core, Standard, and Framework # Work with PDFs in C# using HTML, MVC, ASPX, and images # Generate, Edit, Read and Secure PDF Documents Generate PDFs with Pixel Perfect Chrome HTML to PDF Rendering: The Iron PDF library takes the frustration out of generating PDF documents by not relying on proprietary APIs. “Html-To-Pdf” renders pixel-perfect PDFs from open standard document types: HTML, JS, CSS, JPG, PNG, GIF, and SVG. In short, it uses the skills that developers already possess. Fully Supports: * .NET 7, .NET 6, .NET 5, Framework, Core, and Standard * Windows, MacOS, Linux, Azure, Docker and AWS For code examples, tutorials and documentation visit https://ironpdf.com/

Published
Jul 3, 2023
3y ago
Total Downloads
566.6K
566,594

Install

dotnet add package IronPdf.MacOs --version 2023.7.4
ProductVersions
.NET Standard
netstandard2.0

README

Nuget Installs Passed windows macOS linux docker aws microsoftazure livechat

IronPDF - Create, Edit, and Read PDFs in .NET Applications

IronPDF NuGet Trial Banner Image

Get Started | Features | How-Tos | Code Examples | Licensing | Free Trial

IronPDF is a library developed and maintained by Iron Software that helps C# Software Engineers to create, edit and extract PDF content in projects in .NET.

IronPDF excels at:

IronPDF has cross platform support compatibility with:

  • .NET 8, .NET 7, .NET 6, .NET 5, and .NET Core, Standard, and Framework
  • Windows, macOS, Linux, Docker, Azure, and AWS

IronPDF Cross Platform Compatibility Support Image

Additionally, our API reference and full licensing information can easily be found on our website.

Using IronPDF

Installing the IronPDF NuGet package is quick and easy, please install the package like this:

PM> Install-Package IronPdf

Once installed, you can get started by adding using IronPdf to the top of your C# code. Here is a sample HTML to PDF example to get started:

// HTML to PDF
using IronPdf;

var renderer = new ChromePdfRenderer(); // Instantiates Chrome Renderer
var pdf = renderer.RenderHtmlAsPdf(" <h1> ~Hello World~ </h1> Made with IronPDF!");
pdf.SaveAs("html_saved.pdf"); // Saves our PdfDocument object as a PDF

And another option is to create from URL to PDF:

// URL to PDF
using IronPdf;

var renderer = new ChromePdfRenderer(); // Instantiates Chrome Renderer

// To include elements that are usually removed to save ink during printing we choose screen
renderer.RenderingOptions.CssMediaType = IronPdf.Rendering.PdfCssMediaType.Screen;

var pdf = renderer.RenderUrlAsPdf("https://ironpdf.com/");
pdf.SaveAs("url_saved.pdf");

Features Table

IronPDF Features

Licensing & Support Available

For our full list of code examples, tutorials, licensing information, and documentation visit: https://ironpdf.com/

For more support and inquiries, please email us at: [email protected]

Documentation Links

Changes from Previous Version

No structural changes between v2023.6.10 and v2023.7.4.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.