Skip to content

Instantly share code, notes, and snippets.

View irondarrius's full-sized avatar

Darrius Serrant irondarrius

View GitHub Profile
@irondarrius
irondarrius / csharp-pdf-library-1.md
Last active March 27, 2025 11:22
C# PDF Library

IronPDF: The Ultimate C# PDF Library for HTML to PDF Conversion

IronPDF is a high-performance C# PDF Library that enables developers to generate, edit, and manipulate PDFs effortlessly in .NET applications. Whether you need to convert HTML to PDF, merge documents, or extract text, IronPDF makes it seamless with its intuitive API.

Install IronPDF via NuGet Package Manager to get started.

Install-Package IronPdf
# or dotnet add package IronPdf
@irondarrius
irondarrius / csharp-pdf-viewer.md
Last active March 27, 2025 11:19
C# PDF Viewer

IronPDF Viewer: Integrate PDF Viewing Capabilities in Your MAUI Application

Providing users with the ability to view PDF documents directly within your MAUI application is crucial for modern app development. With IronPDF Viewer, you can integrate robust PDF viewing functionality into your .NET MAUI applications quickly and efficiently.

In this guide, we will explore how to embed a C# PDF Viewer using IronPdf.Viewer.Maui, allowing users to view, save, and print PDFs effortlessly.

Step 1: Install the IronPDF Viewer Library

To begin, install the IronPdf.Viewer.Maui package via NuGet Package Manager:

@irondarrius
irondarrius / README.md
Created February 11, 2025 03:53
C# PDF Generator

C# PDF Generation with IronPDF

Developers frequently need to generate PDFs in C# applications for reports, invoices, or document exports. IronPDF simplifies this process by allowing seamless creation, manipulation, and rendering of PDFs from HTML, URLs, and raw text.

Different Ways to Generate PDFs with IronPDF

IronPDF provides multiple ways to create PDFs, giving developers flexibility depending on their needs:

  • Render HTML to PDF: Convert raw HTML strings into fully formatted PDF documents.
  • Convert URLs to PDF: Capture live web pages as static PDFs while maintaining their styling.
@irondarrius
irondarrius / README.md
Last active June 15, 2025 22:38
Convert PDFs to Images in C#

Convert a PDF to an Image in C# Using IronPDF

Introduction

This guide demonstrates how to convert a PDF document to an image format (e.g., PNG, JPG) using the IronPDF library in C#. This is useful for creating visual previews or thumbnails of PDF content.


Prerequisites

To follow along, ensure you have the following: