Aspose.PDF 21.12.0

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

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

.NET API to Process & Manipulate PDF Files

Version 21.12 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | 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.

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 insert pages; transform pages to image; print PDF documents and much more.

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

Fixed Layout: PDF, XPS
eBook: EPUB
Markup: HTML, XML
Typesetting: TeX
Vector Graphics: SVG

Save PDF Documents As

Microsoft Word: DOC, DOCX
Microsoft Excel: XLS, XLSX
Microsoft PowerPoint: PPTX
Image: JPEG, PNG, BMP, GIF, TIFF
Metadata: EMF
eBook: MobiXML (MOBI)
Text: TXT

Read Formats

Metafile: CGM
Printer: PCL
Electronic Publishing: PS
Stylesheet: XSLFO
Markdown: MD
Archive: MHT

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.

Get Started

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

// 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

// 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);

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

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 (32)

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.11.0 56,299 11/15/2024
24.10.0 104,238 10/11/2024
24.9.0 130,765 9/12/2024
24.8.0 126,639 8/16/2024
24.7.0 120,002 7/16/2024
24.6.0 135,895 6/14/2024
24.5.1 205,459 5/11/2024
24.5.0 67,212 5/2/2024
24.4.0 144,167 4/11/2024
24.3.0 234,320 3/13/2024
24.2.0 218,684 2/14/2024
24.1.0 295,420 1/15/2024
23.12.0 227,435 12/19/2023
23.11.1 247,871 11/22/2023
23.11.0 96,976 11/14/2023
23.10.0 332,034 10/19/2023
23.9.0 316,671 9/13/2023
23.8.0 332,756 8/15/2023
23.7.0 225,680 7/14/2023
23.6.0 269,375 6/17/2023
23.5.0 299,652 5/16/2023
23.4.0 417,350 4/13/2023
23.3.1 133,010 3/31/2023
23.3.0 796,127 3/15/2023
23.2.0 362,821 2/20/2023
23.1.1 190,702 2/7/2023
23.1.0 254,367 1/21/2023
22.12.0 492,872 12/19/2022
22.11.0 509,245 11/21/2022
22.10.0 571,085 10/19/2022
22.9.0 768,541 9/12/2022
22.8.0 399,508 8/15/2022
22.7.0 509,647 7/18/2022
22.6.0 609,581 6/20/2022
22.5.0 436,127 5/20/2022
22.4.0 369,024 4/26/2022
22.3.0 633,955 3/17/2022
22.2.0 404,915 2/16/2022
22.1.0 615,092 1/17/2022
21.12.0 618,914 12/15/2021
21.11.0 509,580 11/15/2021
21.10.1 431,945 10/14/2021
21.10.0 65,957 10/14/2021
21.9.0 300,778 9/13/2021
21.8.0 400,427 8/12/2021
21.7.0 353,777 7/13/2021
21.6.0 375,042 6/15/2021
21.5.0 344,957 5/12/2021
21.4.0 347,096 4/12/2021
21.3.0 342,454 3/12/2021
21.2.0 229,045 2/13/2021
21.1.0 618,723 1/15/2021
20.12.0 276,527 12/9/2020
20.11.0 432,579 11/10/2020
20.10.0 550,506 10/8/2020
20.9.0 303,249 9/3/2020
20.8.0 159,135 8/12/2020
20.7.0 447,944 7/8/2020
20.6.0 333,865 6/2/2020
20.5.0 208,661 5/5/2020
20.4.0 185,273 4/6/2020
20.3.0 436,512 3/9/2020
20.2.0 206,395 2/14/2020
20.1.0 370,123 1/3/2020
19.12.0 158,751 12/5/2019
19.11.0 256,913 11/9/2019
19.10.0 198,421 10/15/2019
19.9.0 321,418 9/6/2019
19.8.0 281,775 8/5/2019
19.7.0 194,290 7/4/2019
19.6.0 126,739 6/5/2019
19.5.0 156,100 5/4/2019
19.4.0 233,661 4/4/2019
19.3.0 176,935 3/6/2019
19.2.0 82,483 2/15/2019
19.1.0 222,147 1/3/2019
18.12.0 271,135 12/5/2018
18.11.0 98,252 11/8/2018
18.10.0 126,735 10/4/2018
18.9.1 84,321 9/5/2018
18.9.0 37,856 9/4/2018
18.8.0 75,584 8/8/2018
18.7.0 136,042 7/10/2018
18.6.1 180,733 6/22/2018
18.6.0 53,935 6/8/2018
18.5.0 108,242 5/8/2018
18.4.1 37,467 4/13/2018
18.4.0 14,090 4/6/2018
18.3.0 236,850 3/10/2018
18.2.0 76,346 2/14/2018
18.1.0 141,456 1/15/2018
17.12.0 166,346 12/13/2017
17.11.0 77,458 11/4/2017
17.10.0 53,625 10/6/2017
17.9.0 76,040 9/6/2017
17.8.0 129,918 8/3/2017
17.7.0 58,942 7/6/2017
17.6.0 32,639 6/8/2017
17.5.0 38,278 5/18/2017
17.4.0 126,587 4/3/2017
17.3.0 139,311 3/15/2017
17.2.0 311,270 2/1/2017
17.1.0 36,220 1/2/2017
16.12.0 51,388 12/6/2016
16.11.0 53,236 11/7/2016
16.10.1 21,201 10/11/2016
16.10.0 35,060 10/6/2016
12.0.0 221,988 9/9/2016
11.9.0 68,656 8/3/2016
11.8.0 88,635 7/9/2016
11.7.0 69,514 6/6/2016
11.6.0 207,159 5/6/2016
11.5.0 88,970 4/7/2016
11.4.0 101,354 3/7/2016
11.3.0 158,483 2/9/2016
11.2.0 113,976 1/19/2016
11.1.1 68,396 12/30/2015
11.1.0 18,527 12/17/2015
11.0.0 59,626 11/12/2015
10.9.0 88,843 10/2/2015
10.8.0 55,406 9/11/2015
10.7.0 51,382 8/12/2015
10.6.0 156,973 7/13/2015
10.5.1 18,359 6/8/2015
10.5.0 9,601 6/4/2015
10.4.0 28,561 5/14/2015
10.3.0 26,849 4/8/2015
10.2.0 14,608 3/6/2015
10.1.0 33,485 2/5/2015
10.0.0 61,729 1/14/2015
9.9.0 39,447 12/9/2014
9.8.0 14,327 11/17/2014
9.7.0 23,114 10/4/2014
9.6.0 27,734 9/4/2014
9.5.0 51,565 8/6/2014
9.4.0 19,155 7/8/2014
9.3.0 72,611 6/4/2014
9.2.1 17,541 5/7/2014
9.2.0 6,187 5/1/2014
9.1.2 7,526 4/14/2014
9.1.0 8,473 4/4/2014
9.0.0 24,502 3/1/2014
8.9.1 25,930 2/15/2014
8.9.0 18,662 2/12/2014
8.8.1 23,553 1/1/2014
8.7.0 47,055 12/5/2013
8.6.0 6,396 11/28/2013
8.5.0 16,298 10/10/2013
8.4.1 11,383 9/13/2013
8.4.0 12,691 9/12/2013
8.3.0 28,059 8/2/2013
8.2.0 56,086 7/9/2013
8.1.0 16,439 6/7/2013
8.0.0 18,568 5/16/2013
7.9.1 8,410 4/22/2013
7.8.0 13,794 4/3/2013
7.7.0 23,158 2/7/2013
7.6.0 14,803 12/19/2012
7.5.0 12,829 11/22/2012
7.4.0 9,764 10/7/2012
7.3.0 48,167 9/7/2012
7.2.0 24,752 8/3/2012
7.1.0 7,405 7/17/2012
7.0.0 26,052 5/29/2012
6.9.0 30,235 4/13/2012
6.8.0 6,430 3/8/2012
6.7.0 7,567 2/13/2012
6.6.0 25,756 1/20/2012