Skip to main content

2 posts tagged with "puppeteersharp"

View All Tags

Top C# and .NET PDF Generation Libraries Compared

· 15 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Best C# Libraries for PDF Generation

The .NET ecosystem offers a rich variety of libraries for PDF generation. From creating documents from scratch to converting HTML to PDF or generating reports with complex layouts, C# developers have several proven options to pick from. This article covers the most popular PDF libraries available for C# and .NET, with download statistics, key features, installation guides, and practical code examples to help you choose the right tool for your project.

HTML to PDF in C# with PuppeteerSharp: Complete Guide

· 14 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Guide to generating PDF from HTML using PuppeteerSharp in C#/.NET

Looking for a reliable way to convert HTML to PDF in C# and .NET? This guide shows you how to use PuppeteerSharp, the .NET port of the Node.js Puppeteer library, to generate PDFs from dynamic HTML content. Whether you're building invoices, reports, or print-ready web pages, PuppeteerSharp gives you full control over headless Chromium rendering, enabling pixel-perfect PDF output using modern HTML and CSS. This guide covers setting up a C#/.NET project, using a template engine for dynamic content, and exporting an invoice PDF as the final result.