Aspose.Pdf 21.2.0

Aspose.PDF for .NET is a PDF document creation and manipulation component that enables your .NET applications to read, write and manipulate existing PDF documents without using Adobe Acrobat. It also allows you to create forms and manage form fields embedded in a PDF document. This component is written in managed C# and it allows developers to add PDF creation and manipulation functionality to their Microsoft .NET applications (WinForms, ASP.NET and .NET Compact Framework).
       Aspose.PDF for .NET is affordable and offers an incredible wealth of features including PDF compression options; table creation and manipulation; support for graph objects; extensive hyperlink functionality; extended security controls; custom font handling; integration with data sources; add or remove bookmarks; create table of contents; add, update, delete attachments and annotations; import or export PDF form data; add, replace or remove text and images; split, concatenate, extract or inset pages; transform pages to image; print PDF documents and much more.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Pdf -Version 21.2.0
dotnet add package Aspose.Pdf --version 21.2.0
<PackageReference Include="Aspose.Pdf" Version="21.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Pdf --version 21.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Pdf, 21.2.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install Aspose.Pdf as a Cake Addin
#addin nuget:?package=Aspose.Pdf&version=21.2.0

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

.NET API to Process & Manipulate PDF Files

Version 21.2 Nuget

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Integrate PDF creation, processing, manipulation & conversion features into your own .NET applications without needing Adobe Acrobat®.

Aspose.PDF for .NET allows you to work with PDF documents, pages, text, images, attachments, fonts, bookmarks, annotations, forms, operators, stamps, watermarks, links, security, signatures, and printing.

PDF Processing Features

  • Generate PDF documents on the fly through the API or via XML templates.
  • Supports 14 core, Type 1, TruType, Type 3, CJK & Unicode fonts.
  • Extract text from PDF pages or search for a particular text segment using regular expressions.
  • Add or extract text & images to & from PDF documents.
  • Concatenate or split PDF files.
  • Linearization of PDF documents for web optimization.
  • Validation support for PDF/A-1a, PDF/A-1b & PDF/A-2a.
  • Manage PDF tables & graphs using easy to understand object model.
  • Convert PDF documents to Office, web, image & PS formats with the highest visual fidelity.
  • Manipulate PDF files to manage bookmarks, hyperlinks, watermarks, attachments & annotation.
  • Encrypt or decrypt PDF documents as well as set document privileges or modify passwords.
  • Manage PDF forms to add, delete, move, flatten, or decorate form fields. Developers may also import or export XML, FDF, or XFDF data.
  • Digitally sign PDF documents or remove signatures. Also, verify if the PDF is signed and the signature is valid.
  • Print PDF documents to physical or virtual printers with or without print dialog.
  • Set document viewer preferences as well as manipulate document information & XMP metadata.

Read & Write PDF & Other Formats

Portable Document Format PDF
Books: EPUB, MobiXML
Web: HTML, MHTML
Other: TEX, CGM, XSLFO, XML, PCL, SVG, XPS

Save PDF Documents As

Microsoft Office: DOC, DOCX, XLS, XLSX, XLSM, PPTX
Apache OpenOffice: ODS
Images: JPEG, PNG, BMP, TIFF, EMF
Other: MobiXML, XML

Platform Independence

Aspose.PDF for .NET can be used to build applications for Windows, Mac OS X x64 as well as Linux x64. Developers may also code in PHP, VBScript, Delphi & C++ programming languages while using Aspose.PDF for .NET via COM Interop.

Getting Started with Aspose.PDF for .NET

Are you ready to give Aspose.PDF for .NET a try? Simply execute Install-Package Aspose.PDF from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.PDF for .NET and want to upgrade the version, please execute Update-Package Aspose.PDF to get the latest version.

Create a PDF file via C# Code

Execute the below code snippet to see how Aspose.PDF API performs in your environment or check the GitHub Repository for other common usage scenarios.

// initialize document object
Document document = new Document();
// add a page
Page page = document.Pages.Add();
// add text to the new page
page.Paragraphs.Add(new Aspose.Pdf.Text.TextFragment("Hello World!"));
// save PDF document
document.Save(dir + "output.pdf");

Save PDF as Office & HTML Formats

One of the most popular features of Aspose.PDF for .NET is to convert PDF documents to other formats without needing to understand the underlying structure of the resultant format.

Give the following snippet a try with your own samples:

// load the file to be converted
var pfile = new Aspose.Pdf.Document(dir + "template.pdf");
// save in different formats
pfile.Save(dir + "output.docx", Aspose.Pdf.SaveFormat.DocX);
pfile.Save(dir + "output.pptx", Aspose.Pdf.SaveFormat.Pptx);
pfile.Save(dir + "output.html", Aspose.Pdf.SaveFormat.Html);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

.NET API to Process & Manipulate PDF Files

Version 21.2 Nuget

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Integrate PDF creation, processing, manipulation & conversion features into your own .NET applications without needing Adobe Acrobat®.

Aspose.PDF for .NET allows you to work with PDF documents, pages, text, images, attachments, fonts, bookmarks, annotations, forms, operators, stamps, watermarks, links, security, signatures, and printing.

PDF Processing Features

  • Generate PDF documents on the fly through the API or via XML templates.
  • Supports 14 core, Type 1, TruType, Type 3, CJK & Unicode fonts.
  • Extract text from PDF pages or search for a particular text segment using regular expressions.
  • Add or extract text & images to & from PDF documents.
  • Concatenate or split PDF files.
  • Linearization of PDF documents for web optimization.
  • Validation support for PDF/A-1a, PDF/A-1b & PDF/A-2a.
  • Manage PDF tables & graphs using easy to understand object model.
  • Convert PDF documents to Office, web, image & PS formats with the highest visual fidelity.
  • Manipulate PDF files to manage bookmarks, hyperlinks, watermarks, attachments & annotation.
  • Encrypt or decrypt PDF documents as well as set document privileges or modify passwords.
  • Manage PDF forms to add, delete, move, flatten, or decorate form fields. Developers may also import or export XML, FDF, or XFDF data.
  • Digitally sign PDF documents or remove signatures. Also, verify if the PDF is signed and the signature is valid.
  • Print PDF documents to physical or virtual printers with or without print dialog.
  • Set document viewer preferences as well as manipulate document information & XMP metadata.

Read & Write PDF & Other Formats

Portable Document Format PDF
Books: EPUB, MobiXML
Web: HTML, MHTML
Other: TEX, CGM, XSLFO, XML, PCL, SVG, XPS

Save PDF Documents As

Microsoft Office: DOC, DOCX, XLS, XLSX, XLSM, PPTX
Apache OpenOffice: ODS
Images: JPEG, PNG, BMP, TIFF, EMF
Other: MobiXML, XML

Platform Independence

Aspose.PDF for .NET can be used to build applications for Windows, Mac OS X x64 as well as Linux x64. Developers may also code in PHP, VBScript, Delphi & C++ programming languages while using Aspose.PDF for .NET via COM Interop.

Getting Started with Aspose.PDF for .NET

Are you ready to give Aspose.PDF for .NET a try? Simply execute Install-Package Aspose.PDF from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.PDF for .NET and want to upgrade the version, please execute Update-Package Aspose.PDF to get the latest version.

Create a PDF file via C# Code

Execute the below code snippet to see how Aspose.PDF API performs in your environment or check the GitHub Repository for other common usage scenarios.

// initialize document object
Document document = new Document();
// add a page
Page page = document.Pages.Add();
// add text to the new page
page.Paragraphs.Add(new Aspose.Pdf.Text.TextFragment("Hello World!"));
// save PDF document
document.Save(dir + "output.pdf");

Save PDF as Office & HTML Formats

One of the most popular features of Aspose.PDF for .NET is to convert PDF documents to other formats without needing to understand the underlying structure of the resultant format.

Give the following snippet a try with your own samples:

// load the file to be converted
var pfile = new Aspose.Pdf.Document(dir + "template.pdf");
// save in different formats
pfile.Save(dir + "output.docx", Aspose.Pdf.SaveFormat.DocX);
pfile.Save(dir + "output.pptx", Aspose.Pdf.SaveFormat.Pptx);
pfile.Save(dir + "output.html", Aspose.Pdf.SaveFormat.Html);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/pdf/net/aspose-pdf-for-net-21-2-release-notes/

NuGet packages (12)

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

Package Downloads
Ewl
The Enterprise Web Library (EWL), and its tailored infrastructure platform, are a complete and open solution for developing and operating web-based enterprise software.
Aspose.Pdf.Builder
Aspose.Pdf.Builder is a toolkit designed to make developing with Aspose.Pdf a breeze. It contains a variety of functions which allows a user to develop complex and flexible page components without having to dig in too deeply into the intricacies of Aspose.Pdf.
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.
Ser.Engine
Package Description
Zny.ServiceClient.DemoTest
微服务DEMO测试

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Aspose.Pdf:

Repository Stars
aspose-words/Aspose.Words-for-.NET
Aspose.Words for .NET examples, plugins and showcases
aspose-cells/Aspose.Cells-for-.NET
Aspose.Cells for .NET examples, plugins and showcases

Version History

Version Downloads Last updated
21.3.0 13,254 3/12/2021
21.2.0 16,053 2/13/2021
21.1.0 35,466 1/15/2021
20.12.0 25,220 12/9/2020
20.11.0 49,658 11/10/2020
20.10.0 40,427 10/8/2020
20.9.0 42,268 9/3/2020
20.8.0 33,926 8/12/2020
20.7.0 52,264 7/8/2020
20.6.0 60,110 6/2/2020
20.5.0 55,683 5/5/2020
20.4.0 56,782 4/6/2020
20.3.0 113,850 3/9/2020
20.2.0 45,454 2/14/2020
20.1.0 157,782 1/3/2020
19.12.0 29,966 12/5/2019
19.11.0 82,204 11/9/2019
19.10.0 56,206 10/15/2019
19.9.0 74,824 9/6/2019
19.8.0 86,675 8/5/2019
19.7.0 108,861 7/4/2019
19.6.0 33,849 6/5/2019
19.5.0 45,217 5/4/2019
19.4.0 71,136 4/4/2019
19.3.0 51,436 3/6/2019
19.2.0 41,449 2/15/2019
19.1.0 105,199 1/3/2019
18.12.0 38,281 12/5/2018
18.11.0 25,954 11/8/2018
18.10.0 58,812 10/4/2018
18.9.1 36,794 9/5/2018
18.9.0 4,399 9/4/2018
18.8.0 29,362 8/8/2018
18.7.0 46,027 7/10/2018
18.6.1 82,506 6/22/2018
18.6.0 27,485 6/8/2018
18.5.0 39,719 5/8/2018
18.4.1 14,056 4/13/2018
18.4.0 4,178 4/6/2018
18.3.0 75,307 3/10/2018
18.2.0 29,000 2/14/2018
18.1.0 35,417 1/15/2018
17.12.0 58,288 12/13/2017
17.11.0 19,531 11/4/2017
17.10.0 28,576 10/6/2017
17.9.0 39,639 9/6/2017
17.8.0 43,612 8/3/2017
17.7.0 26,206 7/6/2017
17.6.0 14,686 6/8/2017
17.5.0 16,634 5/18/2017
17.4.0 71,939 4/3/2017
17.3.0 64,193 3/15/2017
17.2.0 130,011 2/1/2017
17.1.0 11,446 1/2/2017
16.12.0 18,967 12/6/2016
16.11.0 19,646 11/7/2016
16.10.1 7,509 10/11/2016
16.10.0 7,034 10/6/2016
12.0.0 61,863 9/9/2016
11.9.0 25,486 8/3/2016
11.8.0 38,399 7/9/2016
11.7.0 26,613 6/6/2016
11.6.0 76,563 5/6/2016
11.5.0 42,899 4/7/2016
11.4.0 33,640 3/7/2016
11.3.0 81,139 2/9/2016
11.2.0 64,736 1/19/2016
11.1.1 31,695 12/30/2015
11.1.0 6,062 12/17/2015
11.0.0 37,056 11/12/2015
10.9.0 33,366 10/2/2015
10.8.0 21,994 9/11/2015
10.7.0 12,860 8/12/2015
10.6.0 48,748 7/13/2015
10.5.1 6,668 6/8/2015
10.5.0 1,907 6/4/2015
10.4.0 7,568 5/14/2015
10.3.0 10,879 4/8/2015
10.2.0 8,068 3/6/2015
10.1.0 8,411 2/5/2015
10.0.0 5,966 1/14/2015
9.9.0 15,170 12/9/2014
9.8.0 3,853 11/17/2014
9.7.0 10,349 10/4/2014
9.6.0 8,883 9/4/2014
9.5.0 12,119 8/6/2014
9.4.0 7,973 7/8/2014
9.3.0 12,850 6/4/2014
9.2.1 6,723 5/7/2014
9.2.0 1,391 5/1/2014
9.1.2 2,102 4/14/2014
9.1.0 3,417 4/4/2014
9.0.0 8,177 3/1/2014
8.9.1 11,529 2/15/2014
8.9.0 1,719 2/12/2014
8.8.1 5,895 1/1/2014
8.7.0 28,623 12/5/2013
8.6.0 1,745 11/28/2013
8.5.0 6,493 10/10/2013
8.4.1 4,982 9/13/2013
8.4.0 5,664 9/12/2013
8.3.0 9,454 8/2/2013
8.2.0 5,420 7/9/2013
8.1.0 3,634 6/7/2013
8.0.0 10,583 5/16/2013
7.9.1 2,258 4/22/2013
7.8.0 2,903 4/3/2013
7.7.0 7,581 2/7/2013
7.6.0 5,073 12/19/2012
7.5.0 2,611 11/22/2012
7.4.0 3,936 10/7/2012
7.3.0 5,883 9/7/2012
7.2.0 14,137 8/3/2012
7.1.0 1,532 7/17/2012
7.0.0 11,452 5/29/2012
6.9.0 14,226 4/13/2012
6.8.0 1,676 3/8/2012
6.7.0 2,234 2/13/2012
6.6.0 3,926 1/20/2012