Syncfusion.Pdf.NET 19.4.0.42

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Syncfusion.Pdf.NET --version 19.4.0.42
NuGet\Install-Package Syncfusion.Pdf.NET -Version 19.4.0.42
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.Pdf.NET" Version="19.4.0.42" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Syncfusion.Pdf.NET --version 19.4.0.42
#r "nuget: Syncfusion.Pdf.NET, 19.4.0.42"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Syncfusion.Pdf.NET as a Cake Addin
#addin nuget:?package=Syncfusion.Pdf.NET&version=19.4.0.42

// Install Syncfusion.Pdf.NET as a Cake Tool
#tool nuget:?package=Syncfusion.Pdf.NET&version=19.4.0.42

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.

Key Features

Getting Started

You can fetch the Syncfusion .NET PDF library NuGet by simply running Install-Package Syncfusion.Pdf.NET from the Package Manager Console in Visual Studio.

You can also try some code examples of common use cases from our GitHub Repository.

Create a PDF document programmatically using C#

The following code example illustrates how to create a PDF document.

//Create a 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);

stream.Position = 0;
  
document.Close(true);

Manipulate the PDF document programmatically using C#

The following code example illustrates how to manipulate the PDF document.

//Load the PDF document
FileStream docStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read);
PdfLoadedDocument document = new PdfLoadedDocument(docStream);

//Get first page from document
PdfLoadedPage page = document.Pages[0] as PdfLoadedPage;

//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 Syncfusion.Drawing.PointF(0, 0));

//Creating the stream object
MemoryStream stream = new MemoryStream();

//Save the document into memory stream
document.Save(stream);

stream.Position = 0;

//Close the document.
document.Close(true);

Resources

Support and feedback

License

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.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI(Preview), Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Syncfusion.Pdf.NET:

Package Downloads
Syncfusion.Pdf.Imaging.NET The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Syncfusion Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET applications.

Syncfusion.Maui.PdfViewer The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package provides the functionality to utilize the features of Syncfusion .NET Maui PdfViewer control and more.

Syncfusion.DocIORenderer.NET The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

Syncfusion.XlsIORenderer.NET The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

Syncfusion.PresentationRenderer.NET The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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:

Repository Stars
syncfusion/maui-demos
This repository contains the Syncfusion .NET MAUI control’s samples and the guide to use them
Version Downloads Last updated
25.1.37 289 3/26/2024
25.1.35 2,830 3/15/2024
24.2.9 1,782 3/4/2024
24.2.8 1,636 2/26/2024
24.2.7 1,184 2/19/2024
24.2.6 1,711 2/14/2024
24.2.5 1,016 2/12/2024
24.2.4 1,856 2/6/2024
24.2.3 6,352 1/31/2024
24.1.47 2,683 1/22/2024
24.1.46 2,068 1/16/2024
24.1.45 2,852 1/9/2024
24.1.44 1,301 1/3/2024
24.1.43 1,746 12/27/2023
24.1.41 6,101 12/18/2023
23.2.7 2,708 12/6/2023
23.2.6 2,064 11/28/2023
23.2.5 1,734 11/23/2023
23.2.4 6,053 11/20/2023
23.1.44 4,841 11/6/2023
23.1.43 1,767 10/30/2023
23.1.42 6,334 10/23/2023
23.1.41 1,293 10/16/2023
23.1.40 1,701 10/10/2023
23.1.39 1,745 10/4/2023
23.1.38 1,613 9/26/2023
23.1.36 5,877 9/15/2023
22.2.12 14,289 9/5/2023
22.2.11 2,191 8/28/2023
22.2.10 1,094 8/22/2023
22.2.9 1,729 8/14/2023
22.2.8 1,441 8/7/2023
22.2.7 2,356 8/2/2023
22.2.5 1,977 7/27/2023
22.1.39 2,517 7/18/2023
22.1.38 1,837 7/11/2023
22.1.37 22,355 7/3/2023
22.1.36 1,890 6/28/2023
22.1.34 4,267 6/21/2023
21.2.10 2,086 6/13/2023
21.2.9 2,755 6/6/2023
21.2.8 1,514 5/30/2023
21.2.6 2,810 5/22/2023
21.2.5 1,220 5/15/2023
21.2.4 1,250 5/9/2023
21.2.3 2,580 5/3/2023
21.1.41 2,078 4/19/2023
21.1.39 2,423 4/10/2023
21.1.38 1,590 4/3/2023
21.1.37 3,188 3/29/2023
21.1.35 3,947 3/23/2023
20.4.0.54 10,794 3/13/2023
20.4.0.53 1,596 3/7/2023
20.4.0.52 1,816 2/28/2023
20.4.0.51 2,388 2/21/2023
20.4.0.50 1,898 2/14/2023
20.4.0.49 1,772 2/7/2023
20.4.0.48 1,940 2/1/2023
20.4.0.44 4,264 1/18/2023
20.4.0.43 1,994 1/10/2023
20.4.0.42 1,826 1/4/2023
20.4.0.41 17,084 12/29/2022
20.4.0.40 1,468 12/28/2022
20.4.0.38 2,848 12/21/2022
20.3.0.61 1,955 12/13/2022
20.3.0.60 1,678 12/6/2022
20.3.0.59 1,995 11/29/2022
20.3.0.58 1,768 11/22/2022
20.3.0.57 1,871 11/15/2022
20.3.0.56 2,047 11/8/2022
20.3.0.52 1,201 10/27/2022
20.3.0.50 1,095 10/18/2022
20.3.0.49 935 10/11/2022
20.3.0.48 917 10/5/2022
20.3.0.47 1,169 9/29/2022
20.2.0.50 1,285 9/20/2022
20.2.0.49 1,199 9/13/2022
20.2.0.48 1,090 9/6/2022
20.2.0.46 1,008 8/30/2022
20.2.0.45 1,181 8/23/2022
20.2.0.44 1,010 8/16/2022
20.2.0.43 1,176 8/8/2022
20.2.0.40 1,461 7/26/2022
20.2.0.39 1,059 7/19/2022
20.2.0.38 2,188 7/12/2022
20.2.0.36 12,838 6/30/2022
20.1.0.61 1,372 6/21/2022
20.1.0.60 979 6/14/2022
20.1.0.59 1,023 6/7/2022
20.1.0.58 1,540 5/31/2022
20.1.0.57 1,114 5/24/2022
20.1.0.56 1,112 5/17/2022
20.1.0.55 1,577 5/12/2022
20.1.0.52 2,132 5/3/2022
20.1.0.51 1,183 4/26/2022
20.1.0.50 1,318 4/19/2022
20.1.0.48 1,018 4/12/2022
20.1.0.47 1,282 4/4/2022
19.4.0.56 1,314 3/15/2022
19.4.0.55 1,016 3/8/2022
19.4.0.54 1,064 3/1/2022
19.4.0.53 1,135 2/22/2022
19.4.0.52 1,235 2/15/2022
19.4.0.50 1,042 2/8/2022
19.4.0.48 1,483 1/31/2022
19.4.0.47 1,086 1/25/2022
19.4.0.43 960 1/18/2022
19.4.0.42 1,048 1/11/2022
19.4.0.41 883 1/4/2022
19.4.0.40 834 12/28/2021
19.4.0.38 1,785 12/17/2021