Spire.PDF 9.9.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Spire.PDF --version 9.9.3
NuGet\Install-Package Spire.PDF -Version 9.9.3
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="9.9.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.PDF --version 9.9.3
#r "nuget: Spire.PDF, 9.9.3"
#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=9.9.3

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

.NET Library to Create, Manipulate & Convert Word Documents

Foo

Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo

Spire.Doc for .NET is a professional Word API that enables developers to create, read, manipulate, convert and print Word documents in .NET (C#, VB.NET, ASP.NET, .NET Core, .NET Standard and Xamarin) applications without installing Microsoft Office.

By using this multi-functional API, developers are able to perform various Word document processing tasks with ease, like inserting image, hyperlink, digital signature, bookmark, watermark, setting header & footer, creating table, setting background image, adding footnote & endnote and many more.

Standalone .NET API

Spire.Doc for .NET is a totally independent API, it doesn't require Microsoft Office or any other third-party libraries to be installed on system.

Support Both Old and New Word Versions

  • Word 97-2003
  • Word 2007
  • Word 2010
  • Word 2013
  • Word 2016
  • Word 2019

Support a Rich Set of Word Elements

Spire.Doc for .NET supports almost all Word document elements, including sections, headers, footers, footnotes, endnotes, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks, watermarks, math equations, mail merge, comments, images, styles, background settings, digital signature, document printing, document settings, document encryption and decryption. Furthermore, drawing objects including shapes, textboxes, images, OLE objects and content controls are supported as well.

High Quality File Conversions

Using Spire.Doc for .NET, developers can:

Examples

Create a Word Document in C#

//Create a Document instance
Document doc = new Document();
//Add a section
Section section = doc.AddSection();
//Add a paragraph
Paragraph para = section.AddParagraph();
//Append text to the paragraph
para.AppendText("Hello World");
//Save the result document
doc.SaveToFile(@"C:\Users\Administrator\Desktop\Output.docx", FileFormat.Docx2013);

Convert Word to PDF, HTML and XPS in C#

//Create a Document instance
Document document = new Document();
//Load a sample document
document.LoadFromFile(@"C:\Users\Administrator\Desktop\Template.docx");
           
//Save to PDF
document.SaveToFile("Sample.pdf", FileFormat.PDF);
//Save to HTML
document.SaveToFile("toHTML.html", FileFormat.Html);
//Save to XPS
document.SaveToFile("Sample.xps", FileFormat.XPS);

Convert Word to Image in C#

//Create a Document instance
Document document = new Document();
//Load a sample document
document.LoadFromFile(@"C:\Users\Administrator\Desktop\Template.docx");

//Save to PNG image
for (int i = 0; i < document.PageCount; i++)
{
    Image img = document.SaveToImages(i, Spire.Doc.Documents.ImageType.Metafile);
    String fileName = String.Format("img-{0}.png", i);
    img.Save(fileName, System.Drawing.Imaging.ImageFormat.Png);
}

Product Page | Documentation | Examples | Forum | Temporary License | Customized Demo

Product 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 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 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Framework net40 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. 
MonoAndroid monoandroid is compatible. 
Xamarin.iOS xamarinios is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.7 1,298 4/23/2024
10.4.2 3,444 4/12/2024
10.3.16 5,688 3/28/2024
10.3.7 7,006 3/14/2024
10.2.2 20,339 2/4/2024
10.1.17 7,587 1/26/2024
10.1.0 10,066 1/5/2024
9.12.0 18,540 12/8/2023
9.11.4 14,437 11/10/2023
9.11.0 6,776 11/3/2023
9.10.2 25,045 10/13/2023
9.9.9 15,468 9/21/2023
9.9.3 10,361 9/8/2023
9.8.5 26,236 8/10/2023
9.7.17 14,137 7/27/2023
9.7.14 12,241 7/20/2023
9.7.0 15,750 7/3/2023
9.6.0 37,366 6/5/2023
9.5.4 13,925 5/23/2023
9.4.12 17,656 4/28/2023
9.4.0 23,254 4/6/2023
9.3.4 35,578 3/15/2023
9.3.2 11,722 3/7/2023
9.2.6 22,477 2/15/2023
9.2.2 17,117 2/3/2023
9.1.0 67,393 1/5/2023
8.12.7 8,303 12/29/2022
8.12.5 15,869 12/14/2022
8.11.10 11,255 11/30/2022
8.11.2 29,661 11/16/2022
8.11.0 14,386 11/3/2022
8.10.5 11,405 10/19/2022
8.9.16 12,594 9/30/2022
8.9.2 14,867 9/14/2022
8.8.6 17,449 8/17/2022
8.7.9 19,899 7/27/2022
8.7.2 20,016 7/5/2022
8.6.1 30,657 6/8/2022
8.5.0 24,536 5/6/2022
8.4.15 21,637 4/21/2022
8.3.9 34,898 3/23/2022
8.2.2 37,700 2/22/2022
8.1.4 53,832 1/19/2022
8.1.0 35,503 1/6/2022
7.12.1 46,647 12/8/2021
7.11.1 75,901 11/9/2021
7.10.4 29,686 10/19/2021
7.10.0 10,598 10/9/2021
7.9.6 31,315 9/22/2021
7.9.2 19,983 9/2/2021
7.8.8 13,619 8/20/2021
7.8.2 19,478 8/4/2021
7.7.10 20,951 7/22/2021
7.6.15 20,698 6/29/2021
7.6.1 19,813 6/10/2021
7.5.0 22,719 5/7/2021
7.4.13 18,783 4/27/2021
7.4.5 39,085 4/14/2021
7.3.3 18,523 3/19/2021
7.3.1 10,026 3/12/2021
7.2.9 17,475 2/20/2021
7.2.5 14,508 2/7/2021
7.2.0 11,224 2/2/2021
7.1.10 16,342 1/15/2021
7.1.0 13,363 1/7/2021
6.12.20 8,688 12/25/2020
6.12.10 8,614 12/10/2020
6.12.3 8,769 12/7/2020
6.11.6 19,971 11/13/2020
6.11.0 8,661 11/4/2020
6.10.9 10,250 10/27/2020
6.10.4 12,638 10/20/2020
6.10.0 9,422 10/10/2020
6.9.16 18,486 9/28/2020
6.9.0 41,059 9/3/2020
6.8.5 30,021 8/17/2020
6.8.1 15,284 8/6/2020
6.7.12 14,232 7/29/2020
6.7.8 21,000 7/20/2020
6.7.6 9,245 7/8/2020
6.7.2 15,699 7/6/2020
6.5.15 28,210 5/28/2020
6.5.9 9,509 5/18/2020
6.5.6 30,567 5/13/2020
6.4.11 86,914 4/20/2020
6.4.4 10,080 4/10/2020
6.3.16 12,248 3/30/2020
6.3.10 27,645 3/23/2020
6.3.0 23,139 3/4/2020
6.2.6 13,251 2/19/2020
6.2.1 24,749 2/11/2020
6.1.8 31,509 1/21/2020
6.1.4 14,733 1/9/2020
5.12.15 24,590 12/16/2019
5.12.3 8,328 12/5/2019
5.11.18 9,028 11/29/2019
5.11.2 23,558 11/7/2019
5.11.0 9,254 11/1/2019
5.10.8 14,220 10/22/2019
5.10.2 14,280 10/11/2019
5.9.16 11,770 9/30/2019
5.9.6 10,316 9/18/2019
5.8.16 31,490 8/30/2019
5.8.7 28,415 8/13/2019
5.8.2 10,902 8/6/2019
5.7.20 8,421 7/31/2019
5.7.0 30,794 7/2/2019
5.6.31 6,905 7/1/2019
5.6.2 21,695 6/6/2019
5.5.21 15,192 5/24/2019
5.4.21 54,992 5/1/2019
5.4.20 6,131 4/29/2019
5.4.9 14,185 4/15/2019
5.4.1 12,929 4/4/2019
5.3.8 692,763 3/19/2019
5.3.2 8,470 3/11/2019
5.2.15 8,136 2/28/2019
5.2.3 8,548 2/14/2019
5.1.33 7,917 1/31/2019
5.1.16 8,034 1/19/2019
5.1.4 8,721 1/11/2019
5.1.0 12,185 1/2/2019
4.12.8 27,906 12/18/2018
4.12.2 11,140 12/7/2018
4.11.12 10,573 11/28/2018
4.11.8 38,711 11/16/2018
4.11.5 10,335 11/9/2018
4.11.3 30,489 11/8/2018