dotnet add package Syncfusion.Pdf.NET --version 23.1.38
NuGet\Install-Package Syncfusion.Pdf.NET -Version 23.1.38
<PackageReference Include="Syncfusion.Pdf.NET" Version="23.1.38" />
paket add Syncfusion.Pdf.NET --version 23.1.38
#r "nuget: Syncfusion.Pdf.NET, 23.1.38"
// Install Syncfusion.Pdf.NET as a Cake Addin #addin nuget:?package=Syncfusion.Pdf.NET&version=23.1.38 // Install Syncfusion.Pdf.NET as a Cake Tool #tool nuget:?package=Syncfusion.Pdf.NET&version=23.1.38
Syncfusion .NET PDF library
The Syncfusion .NET PDF library (Essential PDF) is a feature-rich and high-performance .NET PDF library that is used to create, read, and edit PDF documents programmatically without Adobe dependencies.
- Support to create PDF files from scratch.
- Open, modify and save existing PDF files.
- Support to add text, various formats of images, tables and shapes.
- Support for creation, filling and flattening forms (AcroForms and XFA).
- Support to compress existing PDF files.
- Ability to merge and split PDF files.
- Ability to convert HTML, RTF, Word, Excel, PowerPoint and XPS to PDF.
- Ability to encrypt and decrypt PDF files with advanced standards.
- Support to add, modify and remove interactive elements such as bookmarks, annotations and attachments.
- Support to add barcode in the PDF files.
- Support to convert PDF to PDF/A-1B conformance.
- Support for PDF/X1-A,PDF/A1-B,PDF/A3-B and PDF/A1-B conformances.
- Support to create accessible PDF or tagged PDF (PDF/UA) with section 508 compliant.
- Support to redact text and images in the PDF files.
- Support to digitally sign and validate the signature in PDF document.
- Support to find the corrupted PDF document.
- Support to run the PDF applications in multi-thread and its thread-safe.
You can fetch the Syncfusion .NET PDF library NuGet by simply running the command Install-Package Syncfusion.Pdf.NET from the Package Manager Console in Visual Studio.
Try the following code example to create a hello world PDF document.
//Create a new PDF document PdfDocument document = new PdfDocument(); //Add a page to the document PdfPage page = document.Pages.Add(); //Create PDF graphics for the page PdfGraphics graphics = page.Graphics; //Set the standard font PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); //Draw the text graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); //Saving the PDF to the MemoryStream MemoryStream stream = new MemoryStream(); document.Save(stream); //Set the position as '0'. stream.Position = 0; //Download the PDF document in the browser FileStreamResult fileStreamResult = new FileStreamResult(stream, "application/pdf"); fileStreamResult.FileDownloadName = "Sample.pdf"; return fileStreamResult;
For more information to get started, refer to our Getting Started Documentation page.
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Syncfusion.Pdf.NET:
Syncfusion Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET applications.
Syncfusion Word library is feature-rich and high-performance .NET Word library that allows you to create, manipulate and convert Word documents (DOC, DOT, DOCM, DOTM, DOCX, DOTX, RTF, and WordML), TXT, and HTML files.
The Syncfusion XlsIO renderer is a .NET Standard library that allows you to convert Excel documents to Images/PDFs in .NET applications without any Microsoft Office dependencies.
This package provides the functionality to utilize the features of Syncfusion .NET Maui PdfViewer control and more.
Syncfusion PowerPoint library is feature-rich and high-performance .NET PowerPoint library that allows you to create, manipulate and convert PowerPoint documents (PPTX, PPTM, POTX and POTM).
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Syncfusion.Pdf.NET:
This repository contains the Syncfusion .NET MAUI control’s samples and the guide to use them