GemBox.Pdf is a .NET component that enables developers to read, write, update, convert, print, clone, merge, split, encrypt, and digitally sign PDF files from their .NET applications.
GemBox.Pdf (gembox-pdf) is a .NET component that enables developers to read, write, update, convert, print, clone, merge, split, encrypt, and digitally sign PDF files from their .NET applications.
GemBox.Pdf Free is free of charge while GemBox.Pdf Professional is a commercial version licensed per developer. Server deployment is royalty-free.
Hello World
C#
// Create a new document.
using (PdfDocument document = new PdfDocument())
{
// Add a page.
var page = document.Pages.Add();
// Write a text.
using (var formattedText = new PdfFormattedText())
{
formattedText.Append("Hello World!");
page.Content.DrawText(formattedText, new PdfPoint(100, 700));
}
// Save as PDF file.
document.Save("Output.pdf");
}
VB.NET
' Create a new document.
Using document As New PdfDocument()
' Add a page.
Dim page = document.Pages.Add()
' Write a text.
Using formattedText = New PdfFormattedText()
formattedText.Append("Hello World!")
page.Content.DrawText(formattedText, New PdfPoint(100, 700))
End Using
' Save as PDF file.
document.Save("Output.pdf")
End Using
Top Features
- Read text from PDF files in C# and VB.NET
- Create and write PDF files in C# and VB.NET
- Convert PDF files to image in C# and VB.NET
- Print PDF files in C# and VB.NET
- Merge PDF files in C# and VB.NET
- Split PDF file in C# and VB.NET
- Export images from PDF files in C# and VB.NET
- PDF digital signatures in C# and VB.NET
- PDF Encryption in C# and VB.NET
- Optical character recognition (OCR) in C# and VB.NET
System Requirement
- .NET Framework 3.5 - 4.8
- .NET Core 3.1 (.NET 5 for Windows)
- .NET Standard 2.0 (.NET 5 for Linux, macOS, Android, iOS, …)
Installation
You can download GemBox.Pdf from BugFixes ️
Or from NuGet