Skip to footer content

Others

With over 100 features, IronPDF has you covered on all your PDF needs.

Icon Main related to Others
Comprehensive Web Asset Support

1

HTML

Convert HTML content into PDF format, maintaining the structure, style, and formatting of your web pages.

Learn how to:create pixel perfect PDFs from HTML
// Pixel Perfect HTML Formatting Settings
using IronPdf.Rendering;

IronPdf.ChromePdfRenderer renderer = new IronPdf.ChromePdfRenderer();

// Generate PDF by rendering the Html resource taken from the URL
renderer.RenderingOptions.CssMediaType = PdfCssMediaType.Print; // or Screen
var pdf = renderer.RenderUrlAsPdf("https://ironpdf.com/");
pdf.SaveAs("picture-perfect-html.pdf");
C#
2

CSS

Support for CSS ensures that your PDFs are styled and formatted according to your web-based designs, preserving the look and feel of your content.

Learn how to:use responsive CSS
using IronPdf;
using IronPdf.Rendering;

ChromePdfRenderer renderer = new ChromePdfRenderer();

// Choose screen or print CSS media
renderer.RenderingOptions.CssMediaType = PdfCssMediaType.Print;

// Render HTML with CSS to PDF
PdfDocument pdf = renderer.RenderHtmlAsPdf("<p style=\"color:red; font-family:sans
C#
3

JavaScript

Enable JavaScript to render dynamic content within your PDFs, ensuring interactive elements are preserved.

Learn how to:render PDFs with JavaScript
using IronPdf;

const string htmlWithJavaScript = @"
<h1>This is HTML</h1>
<script>
    document.write('<h1>This is JavaScript</h1>');
    window.ironpdf.notifyRender();
</script>";

// Instantiate Renderer
var renderer = new ChromePdfRenderer();

// Enable JavaScript in our RenderingOptions
renderer.RenderingOptions.EnableJavaScript = true;
renderer.RenderingOptions.WaitFor.JavaScript();

var pdfJavaScript = renderer.RenderHtmlAsPdf(htmlWithJavaScript);

// Export to a file or Stream
pdfJavaScript.SaveAs("javascript-in-html.pdf");
C#
4

Images

Include images in your PDFs to enhance visual appeal and provide additional context or information.

Learn how to:add images to PDFs
using IronPdf;

ChromePdfRenderer renderer = new ChromePdfRenderer();

string html = @"<img src='https://ironsoftware.com/img/products/ironpdf-logo-text-dotnet.svg'>";

// Render HTML to PDF
PdfDocument pdf = renderer.RenderHtmlAsPdf(html);

// Export PDF
pdf.SaveAs("embedImage.pdf");
C#
5

Fonts

Support for various font types and styles allows you to maintain the original appearance of your content when converting to PDF.

Learn how to:support webfonts
using IronPdf;

// HTML contains webfont
var html = @"<link href=\"https://fonts.googleapis.com/css?family=Lobster\" rel=\"stylesheet\">
<p style=\"font-family: 'Lobster', serif; font-size:30px;\" > Hello Google Fonts</p>";

ChromePdfRenderer renderer = new ChromePdfRenderer();

// Wait for font to load
renderer.RenderingOptions.WaitFor.AllFontsLoaded(2000);

// Render HTML to PDF
PdfDocument pdf = renderer.RenderHtmlAsPdf(html);

// Export the PDF
pdf.SaveAs("font-test.pdf");
C#
6

UTF-8 Character Encoding

Ensure your PDFs support UTF-8 encoding, enabling the display of special characters and multilingual content.

Learn how to:support UTF-8
using IronPdf;

// UTF-8 string 
const string html_utf_8 = @"<p>今日は مرحبا ไทย</p>";

var renderer = new ChromePdfRenderer();
renderer.RenderingOptions.InputEncoding = System.Text.Encoding.UTF8;

var pdf = renderer.RenderHtmlAsPdf(html_utf_8);
pdf.SaveAs("Unicode.pdf");
C#
7

Based URL & Asset Encoding

Manage URL-based assets and encoding to accurately display web-based content, images, and links within your PDFs.

Learn how to:manage URL-based
using IronPdf;

// Instantiate ChromePdfRenderer
ChromePdfRenderer renderer = new ChromePdfRenderer();

string baseUrl = @"C:\site\assets\";
string html = "<img src='icons/iron.png'>";

// Render HTML to PDF
PdfDocument pdf = renderer.RenderHtmlAsPdf(html, baseUrl);

// Export PDF
pdf.SaveAs("html-with-assets.pdf");
C#

Icon Main related to Others
Optimize Performance and Traceability

1

PDF File Compression

Compress your PDF files to reduce file size without sacrificing quality, making your documents easier to share and store.

Learn how to:comparess PDFs
using IronPdf;

ChromePdfRenderer renderer = new ChromePdfRenderer();

PdfDocument pdf = renderer.RenderUrlAsPdf("https://en.wikipedia.org/wiki/Main_Page");

// Define and include additional options if needed
CompressionOptions compressionOptions = new CompressionOptions();
compressionOptions.ShrinkImages = true;
compressionOptions.CompressImages = true;

// Compress images in the PDF
pdf.Compress(compressionOptions);
pdf.SaveAs("compressed.pdf");
C#
2

Async & Multithreading

Support for asynchronous and multithreaded operations enables faster PDF generation and better performance for large-scale documents.

Learn how to:use multithreading process
using IronPdf;

// Instantiate Renderer
var renderer = new ChromePdfRenderer();

// All IronPdf Rendering methods have Async equivalents
var pdf = await renderer.RenderHtmlAsPdfAsync("<h1>Html with CSS and Images</h1>");

// Export to a file or Stream
pdf.SaveAs("async_example.pdf");
C#
3

Custom Logging

Create custom logs to track PDF generation, modification, and conversion processes, enabling better debugging and performance analysis.

Learn how to:enable custom logging
IronSoftware.Logger.LoggingMode = IronSoftware.Logger.LoggingModes.Custom;
IronSoftware.Logger.CustomLogger = new CustomLoggerClass("logging");
C#
Ready to Get Started?
Nuget Downloads 16,383,823 | Version: 2025.11 just released