GemBox.Pdf.Examples icon indicating copy to clipboard operation
GemBox.Pdf.Examples copied to clipboard

GemBox.Pdf is a .NET component that enables you to read, write, edit, and print PDF files from .NET applications in a simple and efficient way.

NuGet version NuGet downloads Visual Studio Marketplace rating

What is GemBox.Pdf?

GemBox.Pdf is a .NET component that enables you to read, write, edit, and print PDF files from .NET applications.

With GemBox.Pdf you get a fast and reliable component that’s easy to use and doesn't depend on Adobe Acrobat. It requires only .NET so you can deploy your applications without having to think about other licenses.

GemBox.Pdf Features

Get Started

You are not sure how to start working with PDF documents in .NET using GemBox.Pdf? Check the code below that shows how to create a PDF file from scratch and write 'Hello World!' on it.

// If using Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY");

// Create a new PDF document.
using (var document = new PdfDocument())
{
    // Add a page.
    var page = document.Pages.Add();

    using (var formattedText = new PdfFormattedText())
    {
        // Add text.
        formattedText.AppendLine("Hello World");

        // Draw text to the page.
        page.Content.DrawText(formattedText, new PdfPoint(100, 700));
    }

    // Save the document as PDF file.
    document.Save("Writing.pdf");
}

For more GemBox.Pdf code examples and demos, please visit our examples page.

Installation

You can download GemBox.Pdf from NuGet 📦 or from BugFixes 🛠️.

Resources