Aspose.Pdf 21.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Pdf --version 21.2.0                
NuGet\Install-Package Aspose.Pdf -Version 21.2.0                
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="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                
#r "nuget: Aspose.Pdf, 21.2.0"                
#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 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                

.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

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 is compatible. 
.NET Framework net20 is compatible.  net35 is compatible.  net35-client 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. 
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 (33)

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

Package Downloads
Ewl

The Enterprise Web Library (EWL), together with its tailored infrastructure platform, is a highly opinionated foundation for web-based enterprise software.

GroupDocs.Classification

GroupDocs.Classification for .NET is an easy to use library that allows performing sentiment analysis (classification), document classification, and raw text categorization. Features: * Classifies both raw text and documents with IAB-2, Documents, Sentiment, or Sentiment3 taxonomies. * Sentiment Analysis (Classification) supports Positive/Negative or Positive/Neutral/Negative taxonomies for English, Chinese, German, or Spanish languages. * Returns the probability of each class. Supported document formats: * Microsoft Word documents - DOC, DOT, DOCX, DOCM, DOTX, DOTM, TXT, RTF; * Open Document formats - ODP, ODS, ODT, OTT; * Portable Document Formats - PDF; For more details on the GroupDocs.Classification for .NET API, please visit GroupDocs website at: https://www.groupdocs.com/products/classification/net

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.

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.

LangChain.Sources.Pdf

LangChain PDF document source.

GitHub repositories (4)

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

Repository Stars
tryAGI/LangChain
C# implementation of LangChain. We try to be as close to the original as possible in terms of abstractions, but are open to new entities.
aspose-words/Aspose.Words-for-.NET
Aspose.Words for .NET examples, plugins and showcases
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
aspose-pdf/Aspose.PDF-for-.NET
Aspose.PDF for .NET examples, plugins and showcase projects
Version Downloads Last updated
24.12.0 5,623 12/13/2024
24.11.0 66,514 11/15/2024
24.10.0 110,269 10/11/2024
24.9.0 136,280 9/12/2024
24.8.0 130,615 8/16/2024
24.7.0 122,824 7/16/2024
24.6.0 139,235 6/14/2024
24.5.1 209,532 5/11/2024
24.5.0 68,884 5/2/2024
24.4.0 147,334 4/11/2024
24.3.0 239,407 3/13/2024
24.2.0 222,341 2/14/2024
24.1.0 300,701 1/15/2024
23.12.0 230,685 12/19/2023
23.11.1 250,746 11/22/2023
23.11.0 98,042 11/14/2023
23.10.0 335,137 10/19/2023
23.9.0 319,412 9/13/2023
23.8.0 335,836 8/15/2023
23.7.0 227,335 7/14/2023
23.6.0 271,731 6/17/2023
23.5.0 302,471 5/16/2023
23.4.0 420,040 4/13/2023
23.3.1 133,975 3/31/2023
23.3.0 801,926 3/15/2023
23.2.0 364,380 2/20/2023
23.1.1 192,538 2/7/2023
23.1.0 256,378 1/21/2023
22.12.0 495,961 12/19/2022
22.11.0 513,373 11/21/2022
22.10.0 573,916 10/19/2022
22.9.0 772,732 9/12/2022
22.8.0 401,561 8/15/2022
22.7.0 512,974 7/18/2022
22.6.0 613,987 6/20/2022
22.5.0 437,589 5/20/2022
22.4.0 371,528 4/26/2022
22.3.0 636,528 3/17/2022
22.2.0 407,338 2/16/2022
22.1.0 618,091 1/17/2022
21.12.0 623,060 12/15/2021
21.11.0 512,305 11/15/2021
21.10.1 434,012 10/14/2021
21.10.0 66,381 10/14/2021
21.9.0 302,214 9/13/2021
21.8.0 401,441 8/12/2021
21.7.0 355,344 7/13/2021
21.6.0 376,588 6/15/2021
21.5.0 346,278 5/12/2021
21.4.0 347,890 4/12/2021
21.3.0 343,563 3/12/2021
21.2.0 229,751 2/13/2021
21.1.0 621,892 1/15/2021
20.12.0 278,233 12/9/2020
20.11.0 434,130 11/10/2020
20.10.0 553,837 10/8/2020
20.9.0 304,396 9/3/2020
20.8.0 159,979 8/12/2020
20.7.0 449,229 7/8/2020
20.6.0 336,020 6/2/2020
20.5.0 209,394 5/5/2020
20.4.0 185,968 4/6/2020
20.3.0 437,555 3/9/2020
20.2.0 207,369 2/14/2020
20.1.0 371,277 1/3/2020
19.12.0 159,327 12/5/2019
19.11.0 257,449 11/9/2019
19.10.0 199,300 10/15/2019
19.9.0 321,925 9/6/2019
19.8.0 282,536 8/5/2019
19.7.0 194,862 7/4/2019
19.6.0 127,584 6/5/2019
19.5.0 157,425 5/4/2019
19.4.0 235,054 4/4/2019
19.3.0 177,846 3/6/2019
19.2.0 82,972 2/15/2019
19.1.0 223,264 1/3/2019
18.12.0 271,838 12/5/2018
18.11.0 98,640 11/8/2018
18.10.0 127,056 10/4/2018
18.9.1 84,544 9/5/2018
18.9.0 37,986 9/4/2018
18.8.0 76,111 8/8/2018
18.7.0 136,511 7/10/2018
18.6.1 181,193 6/22/2018
18.6.0 54,164 6/8/2018
18.5.0 108,627 5/8/2018
18.4.1 37,636 4/13/2018
18.4.0 14,107 4/6/2018
18.3.0 237,775 3/10/2018
18.2.0 76,562 2/14/2018
18.1.0 142,064 1/15/2018
17.12.0 166,949 12/13/2017
17.11.0 78,029 11/4/2017
17.10.0 53,692 10/6/2017
17.9.0 76,203 9/6/2017
17.8.0 130,100 8/3/2017
17.7.0 58,986 7/6/2017
17.6.0 32,672 6/8/2017
17.5.0 38,358 5/18/2017
17.4.0 126,746 4/3/2017
17.3.0 139,484 3/15/2017
17.2.0 312,046 2/1/2017
17.1.0 36,387 1/2/2017
16.12.0 51,698 12/6/2016
16.11.0 53,317 11/7/2016
16.10.1 21,388 10/11/2016
16.10.0 35,205 10/6/2016
12.0.0 222,760 9/9/2016
11.9.0 68,775 8/3/2016
11.8.0 88,887 7/9/2016
11.7.0 69,592 6/6/2016
11.6.0 207,785 5/6/2016
11.5.0 89,061 4/7/2016
11.4.0 101,509 3/7/2016
11.3.0 158,792 2/9/2016
11.2.0 114,061 1/19/2016
11.1.1 68,702 12/30/2015
11.1.0 18,571 12/17/2015
11.0.0 59,827 11/12/2015
10.9.0 89,195 10/2/2015
10.8.0 55,714 9/11/2015
10.7.0 51,529 8/12/2015
10.6.0 157,185 7/13/2015
10.5.1 18,416 6/8/2015
10.5.0 9,616 6/4/2015
10.4.0 28,618 5/14/2015
10.3.0 26,911 4/8/2015
10.2.0 14,667 3/6/2015
10.1.0 33,585 2/5/2015
10.0.0 62,166 1/14/2015
9.9.0 39,587 12/9/2014
9.8.0 14,472 11/17/2014
9.7.0 23,163 10/4/2014
9.6.0 27,775 9/4/2014
9.5.0 51,596 8/6/2014
9.4.0 19,229 7/8/2014
9.3.0 72,857 6/4/2014
9.2.1 17,584 5/7/2014
9.2.0 6,202 5/1/2014
9.1.2 7,536 4/14/2014
9.1.0 8,488 4/4/2014
9.0.0 24,589 3/1/2014
8.9.1 25,940 2/15/2014
8.9.0 18,778 2/12/2014
8.8.1 23,654 1/1/2014
8.7.0 47,070 12/5/2013
8.6.0 6,404 11/28/2013
8.5.0 16,402 10/10/2013
8.4.1 11,398 9/13/2013
8.4.0 12,701 9/12/2013
8.3.0 28,085 8/2/2013
8.2.0 56,397 7/9/2013
8.1.0 16,486 6/7/2013
8.0.0 18,611 5/16/2013
7.9.1 8,552 4/22/2013
7.8.0 13,822 4/3/2013
7.7.0 23,259 2/7/2013
7.6.0 14,816 12/19/2012
7.5.0 12,841 11/22/2012
7.4.0 9,843 10/7/2012
7.3.0 48,249 9/7/2012
7.2.0 24,775 8/3/2012
7.1.0 7,428 7/17/2012
7.0.0 26,057 5/29/2012
6.9.0 30,308 4/13/2012
6.8.0 6,437 3/8/2012
6.7.0 7,572 2/13/2012
6.6.0 25,920 1/20/2012