Spire.PDF 3.9.189

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Spire.PDF --version 3.9.189
NuGet\Install-Package Spire.PDF -Version 3.9.189
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="Spire.PDF" Version="3.9.189" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.PDF --version 3.9.189
#r "nuget: Spire.PDF, 3.9.189"
#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 Spire.PDF as a Cake Addin
#addin nuget:?package=Spire.PDF&version=3.9.189

// Install Spire.PDF as a Cake Tool
#tool nuget:?package=Spire.PDF&version=3.9.189

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.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (10)

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

Package Downloads
Spire.Office

Spire.Office for .NET is a combination of Enterprise-Level Office .NET components offered by E-iceblue. It includes Spire.Doc, Spire XLS, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.PDFViewer, Spire.DocViewer, Spire.Email and Spire.BarCode. Spire.Office contains the most up-to-date versions of the above .NET components. From Spire.Office 3.10.1, Spire.Office supports to work on .NET Core,.NET Standard, Xamarin. With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, etc. As an independent Office .NET component, Spire.Office doesn't need Microsoft Office to be installed on neither the development nor target systems. In addition, it is a better alternative to MS Office Automation in terms of security, stability, scalability, speed, price and features. Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5, .NET Core, .NET standard 2.0

Spire.PDFViewer

Spire.PDFViewer is an easy-to-use and reliable .NET PDF Viewer component. With Spire.PDFViewer, developers can create any WinForms application to open, view and print PDF document in C# and Visual Basic on .NET(2.0, 3.5, 4.0,4.6 and 4.0 ClientProfile). Open and View Spire.PDFViewer for .NET can open and view PDF/A-1B, PDF/X1A and even encrypted document. When viewing, developers can view with zoom in/out, page up/down, moving to the first/last page or fitting page/width. Also, hand tool is available. Elements Spire.PDFViewer for .NET supports kinds of PDF fonts, including TrueType, Type0, Type1, Type3, OpenType and CJK font. It also support hyperlinks, DeviceN color space and JPEG2000, DCT, CCITT Fax Image format in PDF. Print Spire.PDFViewer enables developers to print PDF document and supports page setup before printing, such as margins, page orientation, page size etc. Also, developers can choose specified one page, current page, mulitple pages or all pages to print. PDF to Image Spire.PDFViewer for .NET enables developers to save PDF pages(specified one, current page, mulitple pages, all pages) to image formats(.bmp, .png, .jpeg).

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

DynamicUtility

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Spire.PDF:

Repository Stars
anpho/ofd2pdf
OFD->PDF转换工具(WinExe & CLI)
Version Downloads Last updated
10.4.2 2,141 4/12/2024
10.3.16 5,022 3/28/2024
10.3.7 6,389 3/14/2024
10.2.2 19,250 2/4/2024
10.1.17 7,137 1/26/2024
10.1.0 9,600 1/5/2024
9.12.0 17,773 12/8/2023
9.11.4 14,160 11/10/2023
9.11.0 6,650 11/3/2023
9.10.2 24,342 10/13/2023
9.9.9 15,189 9/21/2023
9.9.3 10,234 9/8/2023
9.8.5 25,513 8/10/2023
9.7.17 14,050 7/27/2023
9.7.14 11,978 7/20/2023
9.7.0 15,556 7/3/2023
9.6.0 36,548 6/5/2023
9.5.4 13,809 5/23/2023
9.4.12 17,443 4/28/2023
9.4.0 22,927 4/6/2023
9.3.4 34,915 3/15/2023
9.3.2 11,566 3/7/2023
9.2.6 22,357 2/15/2023
9.2.2 17,022 2/3/2023
9.1.0 66,125 1/5/2023
8.12.7 8,232 12/29/2022
8.12.5 15,675 12/14/2022
8.11.10 11,185 11/30/2022
8.11.2 29,609 11/16/2022
8.11.0 14,235 11/3/2022
8.10.5 11,370 10/19/2022
8.9.16 12,471 9/30/2022
8.9.2 14,713 9/14/2022
8.8.6 17,302 8/17/2022
8.7.9 19,750 7/27/2022
8.7.2 19,964 7/5/2022
8.6.1 30,225 6/8/2022
8.5.0 24,430 5/6/2022
8.4.15 21,392 4/21/2022
8.3.9 34,719 3/23/2022
8.2.2 37,576 2/22/2022
8.1.4 53,001 1/19/2022
8.1.0 34,982 1/6/2022
7.12.1 46,129 12/8/2021
7.11.1 75,358 11/9/2021
7.10.4 29,612 10/19/2021
7.10.0 10,479 10/9/2021
7.9.6 31,007 9/22/2021
7.9.2 19,560 9/2/2021
7.8.8 13,572 8/20/2021
7.8.2 19,384 8/4/2021
7.7.10 20,896 7/22/2021
7.6.15 20,482 6/29/2021
7.6.1 19,740 6/10/2021
7.5.0 22,491 5/7/2021
7.4.13 18,769 4/27/2021
7.4.5 38,643 4/14/2021
7.3.3 18,499 3/19/2021
7.3.1 9,987 3/12/2021
7.2.9 17,350 2/20/2021
7.2.5 14,329 2/7/2021
7.2.0 11,207 2/2/2021
7.1.10 16,242 1/15/2021
7.1.0 13,242 1/7/2021
6.12.20 8,659 12/25/2020
6.12.10 8,609 12/10/2020
6.12.3 8,765 12/7/2020
6.11.6 19,884 11/13/2020
6.11.0 8,616 11/4/2020
6.10.9 10,179 10/27/2020
6.10.4 12,556 10/20/2020
6.10.0 9,381 10/10/2020
6.9.16 18,232 9/28/2020
6.9.0 40,847 9/3/2020
6.8.5 29,747 8/17/2020
6.8.1 15,246 8/6/2020
6.7.12 14,171 7/29/2020
6.7.8 20,927 7/20/2020
6.7.6 9,222 7/8/2020
6.7.2 15,693 7/6/2020
6.5.15 28,069 5/28/2020
6.5.9 9,505 5/18/2020
6.5.6 30,563 5/13/2020
6.4.11 86,338 4/20/2020
6.4.4 10,054 4/10/2020
6.3.16 12,227 3/30/2020
6.3.10 27,400 3/23/2020
6.3.0 23,021 3/4/2020
6.2.6 13,226 2/19/2020
6.2.1 24,555 2/11/2020
6.1.8 31,448 1/21/2020
6.1.4 14,672 1/9/2020
5.12.15 24,569 12/16/2019
5.12.3 8,306 12/5/2019
5.11.18 9,023 11/29/2019
5.11.2 23,429 11/7/2019
5.11.0 9,250 11/1/2019
5.10.8 14,171 10/22/2019
5.10.2 14,101 10/11/2019
5.9.16 11,742 9/30/2019
5.9.6 10,298 9/18/2019
5.8.16 31,187 8/30/2019
5.8.7 28,130 8/13/2019
5.8.2 10,882 8/6/2019
5.7.20 8,378 7/31/2019
5.7.0 30,704 7/2/2019
5.6.31 6,805 7/1/2019
5.6.2 21,649 6/6/2019
5.5.21 15,075 5/24/2019
5.4.21 54,976 5/1/2019
5.4.20 6,127 4/29/2019
5.4.9 14,137 4/15/2019
5.4.1 12,916 4/4/2019
5.3.8 687,446 3/19/2019
5.3.2 8,462 3/11/2019
5.2.15 8,102 2/28/2019
5.2.3 8,544 2/14/2019
5.1.33 7,906 1/31/2019
5.1.16 8,025 1/19/2019
5.1.4 8,693 1/11/2019
5.1.0 12,165 1/2/2019
4.12.8 27,792 12/18/2018
4.12.2 11,126 12/7/2018
4.11.12 10,555 11/28/2018
4.11.8 38,493 11/16/2018
4.11.5 10,309 11/9/2018
4.11.3 30,225 11/8/2018

Spire.PDF 3.9.189
Support to fill image object into the signature field.
Fixes the issue that Calculate action didn't work.
Fixes the issue that the extrat signature field was added into document automatically after signing signature field.
Fixes the issue that the setting of orientation when printing didn't wrok.
Fixes the issue that the value of combox field was blank when clicking view this version in Adobe after filling the combox field and signing the signature field.
Fixes the issue that caused the NullReferenceException when load PDF file.

Spire.PDF 3.9.181
Supports to find whole words only.
Fixes the issue that caused incorrect content when converting PDF to XPS.
Fixes the issue where the image is wrong when converting XPS to PDF.
Fixes the issue that the content copied from PDF is incorrect when converting XPS to PDF.
Fixes the issue that cannot delete layers.
Fixes the issue that the currency symbol and the amount are broken when there is line feed.
Fixes the issue that the position of the text is wrong when printing the PDF.
Fixes the issue that caused exception when getting the used font.
Fixes the issue that caused exception when loading certificate to sign PDF on Azure.

Spire.PDF 3.9.168

Fixes the issue that caused the logo image was incorrect when printing the PDF file.
Fixes the issue that caused the Stamp was lost when printing the PDF file.
Fixes the issue where the layer cannot be deleted.
Fixes the issue that the content missing when converting PDF to XPS.
Fixes the issue that cuased ArgumentException when using FindText method.
Fixes the issue that the method DrawTemplate doesn't work.


Spire.PDF 3.9.141
Supports to convert specific PDF pages to SVG.
Fixes the issue that caused the image profile lost when converting image to PDF.
Fixes the issue where all the radio buttons were in selected state when converting PDF to PDF/A.
Fixes the issue where some readers showed certain checkboxes to be unchecked except Chrome.
Resolves the issue where the Combobox field values were not displayed.
Fixes the issue where the icon on the ButtonField was improperly getting placed.
Fixes the issue where the images on the pdf file was improperly getting placed when printing the PDF.
Resolves the issue that caused the exception that page index was out of the range of the page in the document.

Spire.PDF 3.9.124
Add IsPortfolio property for PdfDocument to detect if a PDF document is a portfolio.
Add new properties for PdfButtonField to handle button/Icon layout.

Fixes the issue that the position of extracted text was located incorrectly.
Fixes the issue that the rotated text was lost when printing.
Fixes the issue that the image was lost when printing.
Fixes the issue that the alignment of FormField changed when flattening FormField.
Fixes the issue that the content was lost when saving as Image.
Fixes the issue that underline/strikethrough appeared in the table when there is no text in the cell.
Fixes the issue that the PdfDestination(int pageNumber, PointF location, float zoom) constructor can't create bookmark.
Fixes the issue that caused the error "Insufficient data for an image" when replacing Image with ReplaceImage method.
Fixes the issue that the barcode appearance was incorrect when printing.


Spire.PDF 3.9.82

Fixes the issue that caused blank image when converting PDF to image.
Fixes the issue that caused incorrect result when converting PDF to image.
Fixes the issue that caused the process hanging when converting PDF to image.
Fixes the issue that caused some characters missing when converting XPS to PDF.
Fixes the issue that caused incorrect header when converting PDF to .doc.
Fixes the issue that caused incorrect result when converting PDF to Pdf_A1B file format.
Fixes the issue that caused ArgumentException when using the ExtractText menthod.
Fixes the issue that the size of text in textbox cannot be changed.
Fixes the issue that the checkbox cannot be edited after saving PDF.
Fixes the issue that caused wrong content when printing the PDF file.
Fixes the issue that NullReferenceException when merging PDF.
Fixes the issue that caused wrong position when drawing HTML.


Spire.PDF 3.9.27

Support to set "Commit selected value immediately" for ComboBox field and ListBox field.

PdfComboBoxField.CommitOnSelChange = true;
PdfListBoxField.CommitOnSelChange = true;

Bug solutions:
Fixes the issue that caused ArgumentException when loading the PDF file.
Fixes the issue that caused "Checksum check failed" exception when loading the PDF file.
Fixes the issue that caused wrong barcode and incorrect content when printing PDF.
Improve the performance of converting PDF to image.
Fixes the issue that caused header was missing when converting PDF to .doc file format.
Fixes the issue that caused blank content when converting PDF to XPS.
Fixes the issue that a pop-up message warns you to save the changes while in fact nothing have changed when closing the file in Adobe after the merge files function.
Fixes the issue that caused NullReferenceException when using FindText method.
Fixes the issue that caused the process hanging when using ExtractText method.
Fixes the issue that barcode cannot be scanned after setting the size of barcode.
Fixes the issue that the method DrawImage didn't work.
Fixes the issue that caused NullReferenceException when using PdfFormWidget.ExtractSignatureAsImages().
Fixes the issue that the SelectedIndex property of a RadioButtonList didn't work.
Fixes the issue that the result image was wrong when replacing image on PDF.

Spire.PDF 3.9
Fixes the issue that caused first page was blank when converting PDF to TIFF image format.
Fixes the issue where the generated pdf threw an exception that insufficient data for an image while being opened in adobe reader when converting TIFF image to PDF.
Fixes the issue that caused PdfButtonField border visible when setting the BorderWidth property to 0.
Fixes the issue that caused the exception that the character 'z' is invalid inside an ASCII85 block when using MergeFiles method.
Resolves the issue that caused the image was lost when printing the PDF file.

Spire.PDF 3.8.193
Support to set the barcode size when draw the barcode.
Fixes the issue that caused wrong content when converting PDF to PDF/A.
Fixes the issue that caused Arabic text wrong when converting XPS to PDF.
Fixes the issue that the position of some characters is wrong when converting XPS to PDF.
Fixes the issue that caused blank page when converting XPS to PDF.
Improves the function of converting PDF to image.
Fixes the issue that caused incorrect format when extracting text.


Spire.PDF 3.8.173

Fixes the issue that caused the IndexOutOfRangeException when loading XPS file.
Fixes the issue that caused the watermark cannot be added into XPS file.
Fixes the issue that caused image missing when printing the PDF file.
Fixes the issue that caused wrong format when printing the PDF file.
Fixes the issue that caused some text missing when converting PDF to image.
Fixes the issue that caused wrong result when converting PDF to XPS.
Fixes the issue that the layer cannot be deleted.
Fixes the issue that caused ArgumentOutOfRangeException when merging PDF files.
Fixes the issue that caused incorrect result when use Grid.BeginPageLayout to create template.
Fixes the issue that caused wrong result when using spot color to draw line.


Spire.PDF 3.8.158
Support to draw content with spot color.
Fixes the issue that caused the image lost when printing the PDF document.
Fixes the issue that badly formed dictionary next should be a name before 809.
Resolves the issue where creationDate and modificationDate about attachment in PDF were get incorrectly.
Fixes the issue where the watermark didn't work when loading XPS and adding a watermark to each page and then saving it as a Pdf.


Spire.PDF 3.8.121
Support to link to a destination in attachment ("GoToE" action).
Support to create cloud markup.
Fixes the issue that caused wrong content when printing PDF.
Fixes the issue that caused IndexOutOfRangeException when converting PDF to image.
Fixes the issue that caused the layer blending wrong when converting PDF to image.
   Fixes the issue that caused "unknown segment in GBIG2 stream" exception when converting PDF to image.
Fixes the issue that caused blank image when converting PDF to image.
Fixes the issue that caused incorrect bookmark when use Pdfdoc.InsertPage method.
Fixes the issue that caused content lost when loading PDF file.
Fixes the issue that caused some text is unable to be found.
Fixes the issue that caused NullReferenceException when gets PdfFormWidget.


Spire.PDF 3.8.102

Fixes the issue where the Arabic text rendered incorrectly when converting XPS to PDF.
Fixes the issue that caused blank image when converting PDF to image.
Fixes the issue that caused blank bar while using the Windows 10 Reader app for opening the generated XPS file when converting from the PDF file format.
Fixes the issue where the half-width character lost when printing the PDF files.


Spire.PDF 3.8.82
Supports to get all certificates in the current signature.Fixes the issue that caused Form missing when converting PDF to image.
Fixes the issue that caused characters missing when printing the PDF file.
Fixes the issue that caused XmlException when accessing PdfDocument.Conformance.

Spire.PDF 3.8.68
Supports to maintain image with high quality when convert XPS to PDF.
Fixes the issue that caused characters missing when convert PDF to XPS.
Fixes the issue that caused wrong content when convert PDF to XPS.
Fixes the issue that caused dotted line wrong when convert PDF to image.
Fixes the issue that caused characters incorrect when convert PDF to image.
Fixes the issue that caused project hanging when convert PDF to image.
Fixes the issue that caused NullReferenceException when merge files.
Fixes the issue that caused StackOverflowException when merge files.
Fixes the issue that caused form field names unreadable.
Fixes the issue that caused InvalidOperationException when load the PDF document.
Fixes the issue that caused incorrect style when replace text on the PDF.
Fixes the issue that caused grid line missing when print the PDF file.

Spire.PDF 3.8.45
Add new method to set the image of button field.
Fixes the issue where image in the PDF document was covered by a black hatch when print.
Fixes the issue that caused open type fonts to display incorrectly when print.
Fixes the issue that caused the content lost when print.
Resolves the issue that caused the exception that ContextColor /Resources/f856973e-951b-491c-ad5f-9fcff4b05a16.icc 1 is not a valid value for Int32 when load.
Fixes the issue that caused the error that badly formed dictionary next should be a name before 9406 when load.
Fixes the issue that caused the value of combox field got added repeatedly when debug.
Fixes the issue that caused InsertPageRange method got stuck.
Fixes the issue that caused accented characters lost when convert to XPS.

Spire.PDF 3.8.22

Add new feature to convert XPS to PDF/A.
Supports to set the Asia character in signature area.
Fixes the issue that caused the return value incorrect when use signature.VerifyDocModified() method.
Fixes the issue that caused the blank image when convert to IMG.
Improves the quality of the image when convert XPS to PDF.
Resolves the issue that caused image lost when draw EMF image into PDF.
Fixes the issue that caused the field format value was null.

Spire.PDF 3.8.8
Add new feature to convert PDF to SVG.

Fixes the issue that caused blank page when print the PDF.
Fixes the issue that caused the string disoriented when print PDF.
Fixes the issue that caused SaveChange warning information when open the document after filling the field.
Fixes the issue that caused page content missing when merge files.
Fixes the issue that caused InvalidCastException when close PDF object.
Fixes the issue that caused non-transparent region when convert XPS which has transparent region to PDF.
Fixes the issue that caused wrong alignment of field value when flat the field or set it ReadOnly.
Fixes the issue that caused exception when load the XPS file.
Fixes the issue where the color of shape was missing when convert XPS to PDF.


Spire.PDF 3.7.330

Fixes the issue that caused multiple signatures invalid when sign a PDF document many times on X64 platform.
Fixes the issue that caused the code128B barcode generated using Spire.Pdf.Barcode was not getting scanned.
Fixes the issue where multiple styles were not applied when draw string using html tags.


Spire.PDF 3.7.292
New Features:
Spire.PDF adds new method to resize the watermark image and change its location.
Spire.PDF adds new feature to get field by Export Value.

Bug solutions:
Improve performance about converting PDF to image.
Fixes the issue that caused the characters displayed repeatedly when convert XPS to txt.
Fixes the issue that caused some content missing when convert PDF to XPS.
Fixes the issue that caused multiline property doesn't work in form field.
Fixes the issue that caused the exception when convert digitally signed PDF documents to PDF/A.
Fixes the issue that caused the exception when export barcode.
Fixes the issue that caused image missing and rotated when convert XPS to PDF.
Fixes the issue that caused wrong characters when print.
Fixes the issue that caused blank content when convert PDF to tiff.
Fixes the issue that caused digital signature missing when print.
Fixes the issue that caused different content after encryption.
Fixes the issue that the field cannot be filled.
Fixes the issue that caused the exception in different Non-Unicode program language when search text.
Fixes the issue that caused different PDF converted from XPS when DPI is different.
Fixes the issue that caused incorrect text when extract text from PDF.


Spire.PDF 3.7.198

We add new method to load the XPS file from stream, and add new properties to check if the document is encrypted. We also fixed the bugs in this version for the verification of signature, the issues of conversion from XPS to PDF, PDF to image and etc.

New features:

Spire.PDF adds new method to load the XPS file from stream.
Add new feature to instantiate the PdfCertificate from a byte array with password.
Add new feature to check if the document is encrypted.
Add new method to convert HTML to PDF until the Html DOM load completely.

Bug solutions:
Fixes the issue that caused the verification of signature failed.
Fixes the issue that caused the exception when find the text that isn't included in the PDF document.
Fixes the issue that caused the error that string was not recognized as a valid DateTime.
Resolves the issue that caused the content shuffled/displaced when convert XPS to PDF.
Fixes the issue where wrong pdf pageSize was set when windows Display Setting bigger than 100% while converting XPS to PDF.
Fixes the issue that caused some objects were shuffled/displaced when convert PDF to Image.
Resolves the issue that caused the exception that Rectangle. "{X=0,Y=0,Width=780,Height=0}" width or height cannot be equal to zero when load HTML.