AI functionality for IronPdf, including document summary, document queries, and more!
$ dotnet add package IronPdf.Extensions.AIGet 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.
Additionally, our API reference and full licensing information can easily be found on our website.
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");
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: support@ironsoftware.com