Spire.PDF 6.12.3

There is a newer version of this package available.
See the version list below for details.
Install-Package Spire.PDF -Version 6.12.3
dotnet add package Spire.PDF --version 6.12.3
<PackageReference Include="Spire.PDF" Version="6.12.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.PDF --version 6.12.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Spire.PDF, 6.12.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Spire.PDF as a Cake Addin
#addin nuget:?package=Spire.PDF&version=6.12.3

// Install Spire.PDF as a Cake Tool
#tool nuget:?package=Spire.PDF&version=6.12.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Spire.PDF for .NET is a versatile PDF library that enables software developers to generate, edit, read and manipulate PDF files within their own .NET applications. As a standalone PDF component, Spire.PDF for .NET provides users an incredible wealth of features without installing Adobe Acrobat. This component is completely written in C#, but also supports VB.NET, Windows Forms and ASP.NET.
With the Spire.PDF for .NET API, you can get the ability to read PDF text and image even attachments with high efficiency. Even the special content such as language written from right to left can be extracted such as Herbrew and Arabic. Other basic features such as text, image, table, shapes, hyperlinks, bookmark, headings, footnotes, lists, form fields, pagination, booklet barcode, attachments, transparency, annotations, actions, overlay etc all work great for users. As for security, Spire.PDF for .NET enables you to protect your PDF files by passwords and digital signature. Spire.PDF now supprots to work on .NET core, MonoAndroid and Xamarin.iOS platforms.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Spire.PDF:

Package Downloads
James.Testing.Pdf

A library of helpers for the purpose of testing pdf documents/content. It is named after the author who wrote the book of James in the Bible. (James 1:2-3)

Xe.Framework.All

Package Description

Xe.Framework.PdfTools

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.10.4 319 10/19/2021
7.10.0 1,149 10/9/2021
7.9.6 2,657 9/22/2021
7.9.2 3,300 9/2/2021
7.8.8 4,628 8/20/2021
7.8.2 4,749 8/4/2021
7.7.10 3,996 7/22/2021
7.6.15 6,184 6/29/2021
7.6.1 4,090 6/10/2021
7.5.0 3,693 5/7/2021
7.4.13 7,080 4/27/2021
7.4.5 5,435 4/14/2021
7.3.3 7,121 3/19/2021
7.3.1 1,867 3/12/2021
7.2.9 5,517 2/20/2021
7.2.5 4,132 2/7/2021
7.2.0 3,235 2/2/2021
7.1.10 5,215 1/15/2021
7.1.0 4,540 1/7/2021
6.12.20 2,498 12/25/2020
6.12.10 2,907 12/10/2020
6.12.3 2,283 12/7/2020
6.11.6 7,324 11/13/2020
6.11.0 2,222 11/4/2020
6.10.9 2,000 10/27/2020
6.10.4 3,155 10/20/2020
6.10.0 2,394 10/10/2020
6.9.16 3,448 9/28/2020
6.9.0 14,319 9/3/2020
6.8.5 11,578 8/17/2020
6.8.1 5,009 8/6/2020
6.7.12 4,715 7/29/2020
6.7.8 5,248 7/20/2020
6.7.6 2,587 7/8/2020
6.7.2 7,814 7/6/2020
6.5.15 9,866 5/28/2020
6.5.9 2,670 5/18/2020
6.5.6 11,118 5/13/2020
6.4.11 27,616 4/20/2020
6.4.4 2,345 4/10/2020
6.3.16 4,231 3/30/2020
6.3.10 10,248 3/23/2020
6.3.0 9,356 3/4/2020
6.2.6 6,466 2/19/2020
6.2.1 4,346 2/11/2020
6.1.8 15,279 1/21/2020
6.1.4 5,530 1/9/2020
5.12.15 7,325 12/16/2019
5.12.3 2,128 12/5/2019
5.11.18 3,042 11/29/2019
5.11.2 7,145 11/7/2019
5.11.0 1,771 11/1/2019
5.10.8 4,272 10/22/2019
5.10.2 3,790 10/11/2019
5.9.16 4,249 9/30/2019
5.9.6 2,821 9/18/2019
5.8.16 10,932 8/30/2019
5.8.7 8,077 8/13/2019
5.8.2 4,387 8/6/2019
5.7.20 1,572 7/31/2019
5.7.0 15,460 7/2/2019
5.6.31 825 7/1/2019
5.6.2 11,251 6/6/2019
5.5.21 4,084 5/24/2019
5.4.21 44,227 5/1/2019
5.4.20 838 4/29/2019
5.4.9 4,851 4/15/2019
5.4.1 5,395 4/4/2019
5.3.8 38,237 3/19/2019
5.3.2 3,740 3/11/2019
5.2.15 1,913 2/28/2019
5.2.3 2,867 2/14/2019
5.1.33 2,254 1/31/2019
5.1.16 2,780 1/19/2019
5.1.4 1,731 1/11/2019
5.1.0 5,729 1/2/2019
4.12.8 10,988 12/18/2018
4.12.2 3,059 12/7/2018
4.11.12 5,197 11/28/2018
4.11.8 15,986 11/16/2018
4.11.5 4,200 11/9/2018
4.11.3 8,360 11/8/2018

Spire.PDF 6.12.3
New features:
Supports adding page label(SPIREPDF-3736)

//When PDF file doesn't have page labels
PdfDocument doc = new PdfDocument(inputFile);
doc.PageLabels = new PdfPageLabels();
doc.PageLabels.AddRange(0, PdfPageLabels.Decimal_Arabic_Numerals_Style, "label ");
doc.SaveToFile(outputPDF);

//When PDF file has page labels
PdfDocument doc = new PdfDocument(inputFile);
PdfPageLabels label = doc.PageLabels;
label.AddRange(2, PdfPageLabels.Decimal_Arabic_Numerals_Style, "new label ");
doc.SaveToFile(outputPDF);

Supports converting PDF to PDFX1A(SPIREPDF-993,SPIREPDF-3652)

PdfStandardsConverter converter = new PdfStandardsConverter("in.pdf");
converter.ToPdfX1A2001("out.pdf");

Supports customizing text/image's locations when adding digital signatures(SPIREPDF-3284,SPIREPDF-3649)

signature.ConfigureCustomGraphics(DrawGraphics);
private void DrawGraphics(PdfCanvas g)
{
  g.DrawString("Signed by:Tom", new PdfFont(PdfFontFamily.Helvetica, 12f), PdfBrushes.Red, new Rectangle(0, 0, 120, 20));
   string inputFile = "C:/image.png";
   PdfImage img = PdfImage.FromFile(inputFile);
   g.DrawImage(img, 0, 60, 150, 50);
}

Fixes bugs:
Fixes the issue that the signed PDF could not be opened with foxit reader (SPIREPDF-844)
Fixes the issue that the application threw "out of memory" exception when retrieving images (SPIREPDF-1620)
Fixes the issue that the content was incorrect when converting PDF to image (SPIREPDF-2681)
Fixes the issue that the annotations were missing when converting PDF to Tiff(SPIREPDF-3640)
Fixes the issue that the images were missing when printing PDF (SPIREPDF-3759)
Fixes the issue that content overlapped when adding superscript and parenthesis in PdfGrid cell.(SPIREPDF-3776)