Aspose.Pdf 20.2.0

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

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

.NET API to Process & Manipulate PDF Files

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

Aspose.PDF for .NET allows 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 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 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 PDF is signed and 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.

Added APIs in Version 20.2.0

  • Property Aspose.Pdf.Annotations.Annotation.TextHorizontalAlignment
  • Property Aspose.Pdf.DocSaveOptions.BatchSize
  • Property Aspose.Pdf.Facades.PdfFileEditor.KeepActions
  • Property Aspose.Pdf.Forms.TextBoxField.TextVerticalAlignment

For a detailed list, please visit Aspose.PDF for .NET 20.2 Release Notes.

Read & Write PDF & Other Formats

Fixed Layout: PDF, PDF/A, PDF/UA, XPS Books: EPUB Web: HTML, MHTML Other: TEX, CGM, XSLFO, XML, PCL, SVG

Save PDF Documents As

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

Read Formats

PostScript: PS

Platform Independence

Aspose.PDF for .NET can be used to build applications for Windows, Mac OS X x64 as well as for 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 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 feature 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);

Product Page | Documentation | API Reference | Code 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 (31)

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 (5)

Showing the top 5 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
DataDog/dd-trace-dotnet
.NET Client Library for Datadog APM
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.9.0 34,689 9/12/2024
24.8.0 72,353 8/16/2024
24.7.0 80,100 7/16/2024
24.6.0 89,007 6/14/2024
24.5.1 146,289 5/11/2024
24.5.0 48,152 5/2/2024
24.4.0 111,151 4/11/2024
24.3.0 175,531 3/13/2024
24.2.0 169,926 2/14/2024
24.1.0 222,691 1/15/2024
23.12.0 188,124 12/19/2023
23.11.1 205,589 11/22/2023
23.11.0 80,500 11/14/2023
23.10.0 285,322 10/19/2023
23.9.0 281,800 9/13/2023
23.8.0 291,557 8/15/2023
23.7.0 202,382 7/14/2023
23.6.0 242,964 6/17/2023
23.5.0 262,161 5/16/2023
23.4.0 382,930 4/13/2023
23.3.1 118,354 3/31/2023
23.3.0 724,299 3/15/2023
23.2.0 339,053 2/20/2023
23.1.1 167,787 2/7/2023
23.1.0 220,740 1/21/2023
22.12.0 443,505 12/19/2022
22.11.0 458,327 11/21/2022
22.10.0 524,343 10/19/2022
22.9.0 707,969 9/12/2022
22.8.0 372,860 8/15/2022
22.7.0 451,077 7/18/2022
22.6.0 555,312 6/20/2022
22.5.0 414,496 5/20/2022
22.4.0 344,365 4/26/2022
22.3.0 593,374 3/17/2022
22.2.0 374,585 2/16/2022
22.1.0 575,376 1/17/2022
21.12.0 567,409 12/15/2021
21.11.0 473,682 11/15/2021
21.10.1 395,409 10/14/2021
21.10.0 62,059 10/14/2021
21.9.0 286,604 9/13/2021
21.8.0 380,977 8/12/2021
21.7.0 334,392 7/13/2021
21.6.0 354,033 6/15/2021
21.5.0 330,411 5/12/2021
21.4.0 339,046 4/12/2021
21.3.0 329,263 3/12/2021
21.2.0 220,896 2/13/2021
21.1.0 578,992 1/15/2021
20.12.0 259,071 12/9/2020
20.11.0 416,988 11/10/2020
20.10.0 513,104 10/8/2020
20.9.0 289,913 9/3/2020
20.8.0 151,701 8/12/2020
20.7.0 428,756 7/8/2020
20.6.0 312,983 6/2/2020
20.5.0 201,350 5/5/2020
20.4.0 177,022 4/6/2020
20.3.0 421,457 3/9/2020
20.2.0 196,330 2/14/2020
20.1.0 354,166 1/3/2020
19.12.0 149,600 12/5/2019
19.11.0 251,493 11/9/2019
19.10.0 188,169 10/15/2019
19.9.0 312,214 9/6/2019
19.8.0 273,111 8/5/2019
19.7.0 187,529 7/4/2019
19.6.0 117,099 6/5/2019
19.5.0 144,532 5/4/2019
19.4.0 216,757 4/4/2019
19.3.0 166,444 3/6/2019
19.2.0 77,966 2/15/2019
19.1.0 209,544 1/3/2019
18.12.0 261,877 12/5/2018
18.11.0 93,075 11/8/2018
18.10.0 123,448 10/4/2018
18.9.1 82,261 9/5/2018
18.9.0 35,802 9/4/2018
18.8.0 70,627 8/8/2018
18.7.0 131,573 7/10/2018
18.6.1 176,253 6/22/2018
18.6.0 52,091 6/8/2018
18.5.0 102,756 5/8/2018
18.4.1 36,121 4/13/2018
18.4.0 13,851 4/6/2018
18.3.0 225,418 3/10/2018
18.2.0 73,558 2/14/2018
18.1.0 134,020 1/15/2018
17.12.0 158,940 12/13/2017
17.11.0 70,506 11/4/2017
17.10.0 52,511 10/6/2017
17.9.0 73,551 9/6/2017
17.8.0 127,709 8/3/2017
17.7.0 58,099 7/6/2017
17.6.0 31,834 6/8/2017
17.5.0 37,069 5/18/2017
17.4.0 124,237 4/3/2017
17.3.0 137,343 3/15/2017
17.2.0 301,282 2/1/2017
17.1.0 34,471 1/2/2017
16.12.0 48,476 12/6/2016
16.11.0 52,309 11/7/2016
16.10.1 19,788 10/11/2016
16.10.0 32,702 10/6/2016
12.0.0 212,400 9/9/2016
11.9.0 66,856 8/3/2016
11.8.0 85,070 7/9/2016
11.7.0 67,300 6/6/2016
11.6.0 197,566 5/6/2016
11.5.0 88,285 4/7/2016
11.4.0 96,950 3/7/2016
11.3.0 154,567 2/9/2016
11.2.0 113,152 1/19/2016
11.1.1 65,703 12/30/2015
11.1.0 18,131 12/17/2015
11.0.0 58,100 11/12/2015
10.9.0 86,086 10/2/2015
10.8.0 53,427 9/11/2015
10.7.0 49,228 8/12/2015
10.6.0 154,222 7/13/2015
10.5.1 17,714 6/8/2015
10.5.0 9,098 6/4/2015
10.4.0 27,646 5/14/2015
10.3.0 26,336 4/8/2015
10.2.0 14,325 3/6/2015
10.1.0 32,298 2/5/2015
10.0.0 56,612 1/14/2015
9.9.0 36,875 12/9/2014
9.8.0 11,920 11/17/2014
9.7.0 22,472 10/4/2014
9.6.0 27,003 9/4/2014
9.5.0 50,996 8/6/2014
9.4.0 18,690 7/8/2014
9.3.0 69,309 6/4/2014
9.2.1 16,814 5/7/2014
9.2.0 6,103 5/1/2014
9.1.2 7,417 4/14/2014
9.1.0 8,374 4/4/2014
9.0.0 23,282 3/1/2014
8.9.1 25,171 2/15/2014
8.9.0 17,705 2/12/2014
8.8.1 22,207 1/1/2014
8.7.0 46,868 12/5/2013
8.6.0 6,319 11/28/2013
8.5.0 15,890 10/10/2013
8.4.1 11,255 9/13/2013
8.4.0 12,568 9/12/2013
8.3.0 27,901 8/2/2013
8.2.0 52,276 7/9/2013
8.1.0 15,879 6/7/2013
8.0.0 18,404 5/16/2013
7.9.1 7,754 4/22/2013
7.8.0 13,515 4/3/2013
7.7.0 22,285 2/7/2013
7.6.0 14,559 12/19/2012
7.5.0 12,374 11/22/2012
7.4.0 9,605 10/7/2012
7.3.0 46,951 9/7/2012
7.2.0 24,150 8/3/2012
7.1.0 7,285 7/17/2012
7.0.0 25,970 5/29/2012
6.9.0 29,500 4/13/2012
6.8.0 6,343 3/8/2012
6.7.0 7,480 2/13/2012
6.6.0 24,421 1/20/2012