Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
Create PDFs from scratch using our powerful and intuitive document building API.
Create a brand-new PDF from scratch! Start with a blank canvas and build the document you need with complete control. Whether you're building a new report, designing an invoice, or drafting a proposal, start from scratch or use a template for faster results.
Learn how to:Create a blank PDFusing IronPdf;
PdfDocument pdf = new PdfDocument(270, 270);
pdf.SaveAs("blankPage.pdf");Insert custom text and images into your PDF documents seamlessly. IronPDF gives you full control over placement, alignment, and opacity of elements, along with the flexibility to manage headers and text positioning across different pages.
Learn how to:add texts & imagesusing IronPdf;
using IronSoftware.Drawing;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>testing</h1>");
// Draw text on PDF
pdf.DrawText("Some text", FontTypes.TimesNewRoman.Name, FontSize: 12, PageIndex: 0, X: 100, Y: 100, Color.Black, Rotation: 0);
// Open image file
AnyBitmap bitmap = AnyBitmap.FromFile("ironSoftware.png");
// Draw the bitmp on PDF
pdf.DrawBitmap(bitmap, 0, 50, 250, 500, 300);Choose from a wide range of shapes to add to your PDF documents. Whether for diagramming, highlighting sections, or adding visual elements, the shape library lets you enhance the aesthetics and readability of your PDFs.
Learn how to:add shapesusing IronPdf;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>testing</h1>");
// Configure the required parameters
int pageIndex = 0;
var rectangle = new IronSoftware.Drawing.RectangleF(200, 100, 1000, 100);
var lineColor = new IronSoftware.Drawing.Color("#000000");
var fillColor = new IronSoftware.Drawing.Color("#32AB90");
int lineWidth = 5;
// Draw rectangle on PDF
pdf.DrawRectangle(pageIndex, rectangle, lineColor, fillColor, lineWidth);Simplify page numbering in your PDFs with IronPDF's automated page numbering capabilities. Insert page numbers at any location on the page and maintain consistent styling throughout your document.
Learn how to:add page numbersusing IronPdf;
// Create text header
TextHeaderFooter textHeader = new TextHeaderFooter()
{ CenterText = "{page} of {total-pages}" };
// Render a new PDF
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Hello World!</h1>");
// Add header
pdf.AddTextHeaders(textHeader);Manage the orientation of your PDFs effortlessly. Switch between Portrait and Landscape modes and rotate your pages by 90 or 180 degrees as needed, perfect for wide-format documents or presentations.
Learn how to:orientate PDFsusing IronPdf;
using IronPdf.Rendering;
ChromePdfRenderer renderer = new ChromePdfRenderer();
// Change paper orientation
renderer.RenderingOptions.PaperOrientation = PdfPaperOrientation.Landscape;
PdfDocument pdf = renderer.RenderUrlAsPdf("https://en.wikipedia.org/wiki/Main_Page");
pdf.SaveAs("landscape.pdf");Support for all standard paper sizes like A4, Letter, and more. Additionally, define custom paper sizes using points, inches, or pixels to match unique requirements, such as posters, receipts, or website snapshots.
Learn how to:customize paper sizeusing IronPdf;
ChromePdfRenderer renderer = new ChromePdfRenderer();
// Set custom paper size in cm
renderer.RenderingOptions.SetCustomPaperSizeinCentimeters(15, 15);
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Custom Paper Size</h1>");
pdf.SaveAs("customPaperSize.pdf");Easily set or modify the metadata of your PDFs. This includes title, author, keywords, and other attributes to enhance document organization and search ability.
Learn how to:set PDF Metadatausing IronPdf;
using System;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Metadata</h1>");
// Access the MetaData class and set the pre-defined metadata properties.
pdf.MetaData.Author = "Iron Software";
pdf.MetaData.CreationDate = DateTime.Today;
pdf.MetaData.Creator = "IronPDF";
pdf.SaveAs("pdf-with-metadata.pdf");IronPDF fully supports creating and editing PDFs in versions ranging from 1.2 to 1.7, ensuring compatibility with a variety of PDF readers and platforms.
Learn how to:PDF 1.2 to PDF 1.7using IronPdf;
// Instantiate Renderer
var renderer = new ChromePdfRenderer();
// Render simple HTML to PDF
var pdf = renderer.RenderHtmlAsPdf("<p> Hello World!</p>");
// Save as PDF file, IronPDF autmoatically output to the PDF 1.4 standard version
pdf.SaveAs("output.pdf");Create and export PDFs that are compliant with PDF/UA standards to meet universal accessibility guidelines, enabling documents to be more accessible for users with disabilities.
Learn how to:comply with PDF/UA standardsusing IronPdf;
// Open PDF File
PdfDocument pdf = PdfDocument.FromFile("wikipedia.pdf");
// Export as PDF/UA compliance PDF
pdf.SaveAsPdfUA("pdf-ua-wikipedia.pdf");Generate PDF/A-compliant documents that meet archiving standards, ensuring the longevity and integrity of your files for long-term preservation.
Iron Software is a member of the PDF Association.
using IronPdf;
// Create a PdfDocument object or open any PDF File
PdfDocument pdf = PdfDocument.FromFile("wikipedia.pdf");
// Use the SaveAsPdfA method to save to file
pdf.SaveAsPdfA("pdf-a3-wikipedia.pdf", PdfAVersions.PdfA3b);Embed PDF viewing capabilities directly into your MAUI applications, allowing users to view documents without leaving your app environment. This feature is perfect for creating interactive applications with integrated document management.
Learn how to:embed PDF viewingusing IronPdf.Viewer.Maui;
public class MainPage : ContentPage
{
private readonly IronPdfView pdfView;
public MainPage()
{
InitializeComponent();
this.pdfView = new IronPdfView { Options = IronPdfViewOptions.All };
Content = this.pdfView;
}
}Send PDF documents to a physical printer directly from your application, ensuring easy and reliable printing of PDFs for physical distribution.
Learn how to:print to a printerusing IronPdf;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Test printing</h1>");
// Send the document to "Microsoft Print to PDF" printer
pdf.Print("Microsoft Print to PDF");