Navigation
  • SEARCH HERE
  • SOLUTIONS
    • Information Security Solutions
      • Enterprise Application Security Solutions in Asia
      • Network & Infrastructure Security Solutions
      • Zero Trust Security
      • Security Information and Event Management
      • Remote Monitoring & Management (RMM)
      • File Integrity Management
      • Systems Administration Tools
      • Data Loss Prevention
      • Data / Password Recovery
      • IT Management Solution Offering | Distributor in Asia
      • Identity and Access Management Solution Offering | Distributor in Asia
      • Employee Activity Monitoring (EAM)
      • Digital Forensic Investigation
    • Software Development Solutions
      • Integrated Development Environments
      • Development Components
        • UI Tools
        • Networking Components
        • Office Components
        • Barcode Components
        • Communication Components
      • Imaging Solutions
      • Software Localization
      • Release Automation & Management
      • eLearning Authoring Solutions
      • Charting Solutions
      • PDF Solutions
      • Reporting Solutions
      • Testing & QA
      • Text Retrieval / Enterprise Search
      • Database
  • Services
    • Live Solution Walkthroughs
    • Implementation Services
    • Best Practices Consulting
    • Pre-Sales and Post-Sales Services
  • What's New
    • Our Event
    • Our Blogs
    • Special Offers
  • About
    • About LOGON Software Asia
    • Our Partnership
  • Publishers - Join our network
  • Resellers - Expand your portfolio
Site logo
  • Solutions
    • Information Security Solutions
      • Identity and Access Management
        • Privileged Access Management (PAM)
        • Multi-Factor Authentication (MFA)
        • Identification Verification (IV)
        • Self-Service Password Reset (SSPR)
      • Network & Infrastructure Security
        • DDoS Mitigation and Protection
        • Digital Forensic Investigation
        • Malware Detection & Analysis
        • Network Monitoring Software
        • Email Security
        • Log Monitoring
      • Endpoint & Device Security
        • Patch Management
        • Remote Monitoring & Management (RMM)
        • Employee Activity Monitoring (EAM)
        • Mobile Device Management (MDM)
      • IT Management
        • IT Service Management
        • IT Asset Management
        • Software Asset Management
        • Hardware Asset Management
        • Software License Management
        • Systems Administration Tools
      • Application Security
        • Development Security | Shift Left AppSec | SAST, SCA, IAST
        • Runtime Protection Solutions | DAST, RASP, WAF, Container Security
        • Strategic Management Solutions | ASPM, MAST, VAPT
      • Data Security
        • Data Loss Prevention
        • File Integrity Management
        • Data / Password Recovery
        • Data Security Posture Management
      • Cloud Security
        • Cloud Security Posture Management
        • Cloud Work Protection
      • External Attack Surface Management
        • Cyber Threat Intelligence
        • Third Party Risk Management
      • Security Operations & Incident Management
        • Security Information and Event Management
        • Security Orchestration, Automation and Response (SOAR)
      • Zero Trust Security
    • Software Development Solutions
      • Integrated Development Environments
      • Imaging Solutions
      • UI Tools
      • Charting Solutions
      • Database
      • Networking Components
      • Office Components
      • Barcode Components
      • Release Automation & Management
      • Software Localization
      • Communication Components
      • Automated Testing
      • eLearning Authoring Solutions
      • Reporting Solutions
      • Text Retrieval / Enterprise Search
      • Testing & QA
  • Services
        • Live Walkthrough Sessions

          Experience the full feature of our key solutions through live platform

          View All Sessions >
        • Implementation Services
        • Pre-Sales and Post-Sales Services
        • Best Practices Consulting
  • Partners
    • Our Partners
    • Partner with LOGON Today!
      • Vendors - Join Our Network
      • Resellers - Expand Your Portfolio
      • Procurement Managers
  • Resources
        • ABOUT US

        • About Us
        • Our Locations
        • Careers@LOGON - We are hiring !
        • DISCOVER

        • Our BlogsNEW BLOGS
        • Our EventsJOIN UPCOMING EVENTS
        • LOGON to CyberSecurity PodcastNEW EPISODES
        • GET HELP

        • Contact Us
        • Help Desk
        • Request a Demo
        • Request a Quote
        • COMPLIANCE

        • 🇭🇰 Hong Kong PDPO
        • 🇮🇳 India DPDP Act
        • 🇸🇬 Singapore PDPA
        • 🇹🇭 Thailand PDPA
  • More results...

The C# PDF Library

IronPDF is the leading C# PDF library for generating and editing PDFs. Its user-friendly API allows developers to rapidly deliver professional, high-quality PDFs from HTML in .NET projects.

Convert HTML to PDF in .NET 8, 7, 6, Core, & Framework
Generate PDFs in C# using HTML, MVC, ASPX, & Images
Sign, Edit, and Read PDFs with 50+ Features
Install & Deploy in minutes with NuGet
REQUEST QUOTE
CONTACT US

HTML to PDF

  
using IronPdf;
var renderer = new ChromePdfRenderer();
var pdfFromUrl = renderer.RenderUrlAsPdf("https://ironpdf.com/");
pdfFromUrl.SaveAs("website.pdf");
var pdfFromHtmlFile = renderer.RenderHtmlFileAsPdf("design.html");
pdfFromHtmlFile.SaveAs("markup.pdf");
var pdfFromHtmlString = renderer.RenderHtmlAsPdf("

Hello World

", "C:/assets/"); pdfFromHtmlString.SaveAs("markup_with_assets.pdf");
Explore All 45 Code Examples

C# PDF Library that prioritizes accuracy, ease of use, and speed.

When you need your PDF to look like HTML, fast.

Pixel-perfect rendering

What you see in the browser is what you will get in the PDF.

Cross-platform

Works on almost all platforms

Up & running in 5 mins

From the first download to working in production, in literally 5 minutes.

Key Compatibility

.NET Versions:

  • C#, VB.NET, F# Languages
  • .NET Core (8, 7, 6, 5, and 3.1+)
  • .NET Standard (2.0+)
  • .NET Framework (4.6.2+)

.NET Project Types:

  • Web (Blazor & WebForms)
  • Desktop (WPF & MAUI)
  • Console (App & Library)

App Environments:

  • Windows (10+, Server UI 2012+, Server Core 2022)
  • Linux (Ubuntu, Debian, CentOS, etc.)
  • Mac (macOS 10+)
  • Docker (Windows, Linux, Azure)
  • Azure (VPS, WebApp, Function)
  • AWS (EC2, Lambda)

IDEs:

  • Microsoft Visual Studio
  • JetBrains Rider & ReSharper

OS & Processors:

  • Windows, Mac, Linux
  • x64, x86, ARM
  • Binary Certification
  • DigiCert Signed Binaries

Generating PDFs

HTML to PDF:

  • HTML File to PDF
  • HTML String to PDF
  • URL to PDF

Content Pages to PDF:

  • Razor to PDF (Blazor Server)
  • CSHTML to PDF (MVC, Razor)
  • ASPX to PDF (WebForms)
  • XAML to PDF (MAUI)

PDF File Conversion:

  • Images to / from PDF
  • DOCX to PDF (Microsoft Word)
  • RTF to PDF (Rich Text Format)
  • MD to PDF (Markdown)
  • PDF to HTML

Supports:

  • UTF-8 Character Encoding
  • Base URLs & Asset Encoding
  • TLS Website & System Logins
  • Async & Multithreading
  • Custom Logging
  • Cookies

Formatting PDFs

Use HTML Assets:

  • HTML (5 and below)
  • CSS (Screen & Print)
  • Images (jpg, png, gif, tiff, svg, bmp)
  • JavaScript (Custom Render Delays)
  • Fonts (Web & Icon)

Apply Page Templates:

  • Add Headers & Footers
  • Add Page Numbers
  • Add Page Breaks
  • Fit to Paper & Zoom
  • Custom Margins

Apply Page Settings:

  • Responsive Layouts
  • Custom Paper Size
  • Orientation & Rotation
  • Color

Supports PDF Standards:

  • PDF Versions (1.2 – 1.7)
  • PDF/UA (PDF/UA-1)
  • PDF/A (PDF/A-3b)

Editing
PDFs

Set Properties & Security:

  • Set Password & Permissions
  • Digital Signatures (.pfx, .p12)
  • PDF File Compression
  • Edit PDF Metadata
  • Edit & Sign Revision History

Edit Document Structure:

  • Add, Copy, & Delete Pages
  • Merge & Split PDFs
  • Annotations
  • Attachments
  • Bookmarks and Outline

Edit Page Content:

  • Draw Text & Bitmap
  • Find and Replace Text
  • Headers & Footers
  • Stamp Text & Images
  • Custom Watermarks
  • Backgrounds & Foregrounds

Use PDF Forms:

  • Create & Edit Forms
  • Fill Existing Forms

View, Read, & Print PDFs:

  • IronPDF Viewer
  • Print to a Physical Printer
  • Extract PDF Text & Images

Privacy Policy Company Overview

COMPANY

Our Location Career with LOGON Our Partners

SERVICES

Training Services Implementation Services Pre-Sales and Post-Sales Services Best Practices Consulting

GET IN TOUCH

Phone:
Hong Kong: +852 2512 8491
India: +91 70220 22744 / +91 63668 26133
Email: [email protected] ©2025 LOGON International Ltd. All rights reserved
logon logo WHITE

Search engine

Use this form to find things you need on this site

More results...