IronPdf.Slim
2022.4.5455
Prefix Reserved
See the version list below for details.
dotnet add package IronPdf.Slim --version 2022.4.5455
NuGet\Install-Package IronPdf.Slim -Version 2022.4.5455
<PackageReference Include="IronPdf.Slim" Version="2022.4.5455" />
paket add IronPdf.Slim --version 2022.4.5455
#r "nuget: IronPdf.Slim, 2022.4.5455"
// Install IronPdf.Slim as a Cake Addin #addin nuget:?package=IronPdf.Slim&version=2022.4.5455 // Install IronPdf.Slim as a Cake Tool #tool nuget:?package=IronPdf.Slim&version=2022.4.5455
IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects.
- C# HTML to PDF for .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:
Windows, MacOS, Linux, Azure, Docker and AWS
Licensing & Support available
For code examples, tutorials and documentation visit https://ironpdf.com/ Email: developers@ironsoftware.com
Get Started Code Example
using IronPdf;
var Renderer = new IronPdf.ChromePdfRenderer();
Renderer.RenderHtmlAsPdf("<h1>Html with CSS and Images</h1>").SaveAs("pixel-perfect.pdf");
/****** Advanced ******/
// Load external html assets: images, css and javascript.
// An optional BasePath 'C:\site\assets\' is set as the file location to load assets from
var PDF = Renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"C:\site\assets\");
PDF.SaveAs("html-with-assets.pdf");
Documentation Links
Code Samples : https://ironpdf.com/examples/
MSDN Class Reference : https://ironpdf.com/object-reference/api/
Tutorials : https://ironpdf.com/tutorials/
Licensing : https://ironpdf.com/licensing/
Support : developers@ironsoftware.com
Compatibility
Welcome to the cutting edge of .NET PDF rendering and manipulation technology with IronPDF 2021 now featuring Chrome identical HTML rendering with full support for:
C#, F#, and VB.NET
.Net 5, Core 2x & 3x, Standard 2, and Framework 4x
Console, Web, & Desktop Apps
Windows, Linux (Debian, CentOS, Ubuntu), MacOs, Docker, and Azure
Microsoft Visual Studio or Jetbrains ReSharper & Rider
Generating PDFs
Generate PDFs in C# with HTML, MVC, ASPX, & images.
HTML to PDF using HTML Files, Strings, URLs, ASPX, Razor and MVC Views
Image to PDF and PDF to Image
Supports Base 64 Encoding, Base URLs, and Custom File Paths
Website & System Logins, Custom User Agents, Proxies, Cookies, HTTP Headers, Async & Multithreading
Formatting PDFs
Supports HTML, JS and CSS Standards using modern Chrome Rendering
HTML (5 and below), CSS (Screen & Print), Images (jpg, png, gif, tiff, svg, bmp), JavaScript (+ Render Delays), Fonts (Web & Icon)
Use Responsive Layouts, Set Virtual Viewports and Zoom
Apply Headers & Footers, Page Numbers, and Page Breaks
Page Settings for Custom Paper Size, Orientation & Rotation, Margins (mm, inch, & zero), Color & Grayscale, Resolution & JPEG Quality
International Language Support with UTF-8 HTML Encoding
Manipulating PDFs
Edit, Read and Secure PDF Documents
Merge & Split PDFs. Add / Duplicate / Delete Pages
Add New HTML Content, Headers & Footers, Stamp & Watermark, Backgrounds & Foregrounds, Annotations, Outlines & Bookmarks
Create, Edit, and Fill PDF Forms
Apply PDF Metadata, Permissions & Passwords, Digital Signatures
Print PDFs to Physical Printers
Read Text and Images from PDFs
You can email us at developers@ironsoftware.com for support directly from our code team. We offer licensing and extensive support for commercial deployment projects.
Installing IronPDF 2021
=============================================================
To Install:
PM> Install-Package IronPdf
Upgrade Guide for Existing Users
IronPdf updates all usages of your existing HtmlToPdf and AspToPdf code to use our new Chrome Rendering Engine.
Remove any reference to IronPdf.Threading which is now legacy software. The IronPdf main package is threading and async compatible!
Try out the new 2021 API
We haven’t broken the IronPDF API you are using, it will remain!
However, the old style is being superseded by a better one to give you more control. For examples you now have Print options and Http Login controls specific to your renderer
using IronPdf;
//...
ChromePdfRenderer Renderer = new ChromePdfRenderer();
Renderer.RenderingOptions.FitToPaper = true;
Renderer.RenderingOptions.CssMediaType = IronPdf.Rendering.PdfCssMediaType.Screen;
Renderer.RenderingOptions.PrintHtmlBackgrounds = true;
Renderer.RenderingOptions.CreatePdfFormsFromHtml = true;
var doc = Renderer.RenderHtmlAsPdf(“<h1>Hello world!</h1>“);
//var doc = Renderer.RenderUrlAsPdf(“https://www.google.com/”);
//var doc = Renderer.RenderHtmlFileAsPdf(“example.html”);
doc.SaveAs(“google_chrome.pdf”);
Pixel perfect Chrome rendering!
This example will give you PDFs which are pixel perfect to the latest chrome desktop browser’s “print to pdf” functionality:
ChromePdfRenderer Renderer = new ChromePdfRenderer();
Renderer.RenderingOptions.CssMediaType = IronPdf.Rendering.PdfCssMediaType.Print;
Renderer.RenderingOptions.PrintHtmlBackgrounds = false;
Renderer.RenderingOptions.CreatePdfFormsFromHtml = false;
var doc = Renderer.RenderUrlAsPdf(“https://www.google.com/”);
However...we would recommend using improved features such as:
Using screen stylesheets to print PDFs which are less fiddly to develop and more true to existing web assets.
Responsive layout support
Creating PDF Forms from your HTML form elements.
ChromePdfRenderer Renderer = new ChromePdfRenderer();
Renderer.RenderingOptions.CssMediaType = IronPdf.Rendering.PdfCssMediaType.Screen;
Renderer.RenderingOptions.PrintHtmlBackgrounds = true;
Renderer.RenderingOptions.CreatePdfFormsFromHtml = true;
Renderer.RenderingOptions.ViewportWidth = 1080 ; //px
var doc = Renderer.RenderUrlAsPdf(“https://www.google.com/”);
Comparing Chrome and WebKit
You can use the IronPdf.Rendering.AdaptivePdfRenderer to switch between the ‘Chrome’ and ‘WebKit’ rendering at an instance level if you preferred the old rendering style for some of your application, or dont want to break unit tests.
using IronPdf;
//...
IronPdf.Rendering.AdaptivePdfRenderer Renderer = new IronPdf.Rendering.AdaptivePdfRenderer();
Renderer.RenderingOptions.RenderingEngine = IronPdf.Rendering.PdfRenderingEngine.Chrome; //switch between Chrome and WebKit here
var doc = Renderer.RenderHtmlAsPdf(“<h1>Hello world!</h1>“);
Use every CPU core available!
Multithreading and Async support for our Chrome rendering engine is in a different league to previous build.
For enterprise grade multi-threading use our Chrome in your existing threads and it will work. For web applications this also takes zero setup.
For batch processing for HtmlToPdf we suggest using the built in .NETParallel.ForEach
We love async and have provided Async variants of methods such as ChromePdfRenderer.RenderHtmlAsPdf
MSDN Style Class Reference
Explore the IronPDF API in the left navigation of this page.
Popular Links include:
IronPdf Namespace Index of all IronPdf Classes
IronPdf.ChromePdfRenderer Html to PDF generator
IronPdf.ChromePdfRenderOptions Html to PDF generation settings
IronPdf.AspxToPdf ASPX to PDF generator
IronPdf.ImageToPdfConverter Image to PDF generator
IronPdf.PdfDocument A class to open, manipulate, extract data and save PDF files
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.0
- Microsoft.Extensions.Logging.Abstractions (>= 2.1.0)
- System.Drawing.Common (>= 5.0.2)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on IronPdf.Slim:
Package | Downloads |
---|---|
IronPdf
IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects. # C# HTML to PDF for .NET 8, .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 8, .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/ |
|
IronPdf.Linux
IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects. # C# HTML to PDF for .NET 8, .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 8, .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/ |
|
Dynamicweb.Admin
Package Description |
|
IronPdf.MacOs
IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects. # C# HTML to PDF for .NET 8, .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 8, .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/ |
|
IronPdf.MacOs.ARM
IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects. # C# HTML to PDF for .NET 8, .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 8,.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/ |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.11.4 | 3,668 | 11/6/2024 |
2024.10.8 | 38,833 | 10/11/2024 |
2024.9.3 | 157,187 | 9/9/2024 |
2024.8.3 | 107,375 | 7/30/2024 |
2024.7.8 | 82,889 | 7/5/2024 |
2024.7.6 | 8,466 | 7/2/2024 |
2024.6.1 | 90,503 | 6/4/2024 |
2024.5.2 | 148,438 | 4/29/2024 |
2024.4.2 | 120,014 | 4/5/2024 |
2024.3.4 | 124,317 | 3/11/2024 |
2024.3.3 | 24,459 | 3/6/2024 |
2024.2.2 | 183,899 | 1/29/2024 |
2024.1.20 | 101,760 | 1/9/2024 |
2023.12.6 | 215,047 | 11/27/2023 |
2023.11.8 | 120,636 | 11/13/2023 |
2023.11.7 | 67,695 | 11/1/2023 |
2023.10.3 | 158,915 | 10/3/2023 |
2023.9.8 | 90,712 | 9/13/2023 |
2023.8.6 | 210,085 | 7/31/2023 |
2023.7.4 | 160,431 | 7/3/2023 |
2023.6.10 | 202,394 | 6/2/2023 |
2023.5.9 | 456,767 | 5/8/2023 |
2023.5.8 | 204,257 | 5/1/2023 |
2023.4.4 | 828,628 | 3/30/2023 |
2023.3.2 | 139,768 | 3/9/2023 |
2023.3.0-ci.61 | 158 | 3/16/2023 |
2023.2.4 | 104,770 | 2/28/2023 |
2023.1.11416 | 344,573 | 1/9/2023 |
2022.12.11113 | 114,215 | 12/23/2022 |
2022.11.10347 | 444,863 | 11/9/2022 |
2022.11.10341 | 5,581 | 11/8/2022 |
2022.10.9532 | 43,939 | 10/4/2022 |
2022.9.9056 | 302,950 | 9/15/2022 |
2022.8.8818 | 40,294 | 9/7/2022 |
2022.8.8138 | 144,051 | 8/16/2022 |
2022.8.7894 | 145,020 | 7/28/2022 |
2022.7.6986 | 199,453 | 6/30/2022 |
2022.6.6115 | 173,454 | 6/6/2022 |
2022.5.5629 | 118,426 | 5/12/2022 |
2022.5.5596 | 121,140 | 5/2/2022 |
2022.4.5575 | 46,138 | 4/25/2022 |
2022.4.5455 | 55,053 | 4/12/2022 |
2022.4.5250-eap | 8,453 | 3/22/2022 |
2022.3.5084 | 275,942 | 3/8/2022 |
2022.2.4887 | 181,097 | 2/17/2022 |
2022.1.4599 | 251,337 | 1/11/2022 |
2021.12.4495 | 335,441 | 12/7/2021 |
2021.12.4401 | 65,030 | 12/1/2021 |
2021.11.4257 | 81,319 | 11/15/2021 |
2021.11.4183 | 131,331 | 10/28/2021 |
2021.9.3737 | 245,472 | 9/20/2021 |
2021.9.3689 | 55,108 | 9/7/2021 |
2021.9.3678 | 56,094 | 8/26/2021 |
2021.9.3650 | 10,023 | 8/26/2021 |
* Fixes bug where changing user password, owner password, or permissions would remove bookmarks
* Fixes bug where merging pdf documents would not preserve bookmarks
* Fixes several other bugs regarding setting or retrieving bookmarks
* Fixes bug where pdf page PrintHeight and PrintWidth were being calculated incorrectly
* Fixes bug possibly causing crashes when generating images from a Pdf document
* Fixes bug where render delays were being incorrectly applied when generating headers and footers for a Pdf document
* Fixes memory leak when not using IDisposable pattern
* Improves thread-safety when modifying a Pdf document
* Improves error text when unable to open a Pdf document
* Updates pdf-to-image conversion to start with a page index of 1