Skip to main content

2 posts tagged with "c# html to pdf"

View All Tags

Generate PDFs in C# with PDFsharp: Complete Guide

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

Generate PDF with PDFsharp library in C#/.NET

For .NET developers, programmatically generating and modifying PDFs comes up in a lot of business applications. PDFsharp is a well-established .NET library that makes creating complex, multi-page documents easy and accessible. This guide covers everything you need to know about generating PDFs using PDFsharp in C# and .NET applications.

C# HTML to PDF with Playwright .NET: Full Guide

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

Generate PDF from HTML using Playwright in C#/.NET

This guide shows you how to use Microsoft Playwright for .NET and C# to generate high-quality PDFs from HTML. You'll build a complete solution that combines Scriban templates with Playwright's browser automation to produce accurate, print-ready documents. The step-by-step tutorial covers everything from project setup to invoice generation, with all the code you need to add PDF generation to your .NET applications.