See the version list below for details.
dotnet add package Aspose.Pdf --version 21.1.0
NuGet\Install-Package Aspose.Pdf -Version 21.1.0
<PackageReference Include="Aspose.Pdf" Version="21.1.0" />
paket add Aspose.Pdf --version 21.1.0
#r "nuget: Aspose.Pdf, 21.1.0"
// Install Aspose.Pdf as a Cake Addin #addin nuget:?package=Aspose.Pdf&version=21.1.0 // Install Aspose.Pdf as a Cake Tool #tool nuget:?package=Aspose.Pdf&version=21.1.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 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.
New Features & Enhancements
- Added the support of retrieving the background color of
Please visit Aspose.PDF for .NET 21.1 Release Notes for the detailed 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, XLSM, PPTX Apache OpenOffice: ODS Images: JPEG, PNG, BMP, TIFF, EMF Other: MobiXML, XML
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);
|Product||Versions 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-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.|
- No dependencies.
NuGet packages (19)
Showing the top 5 NuGet packages that depend on Aspose.Pdf:
The Enterprise Web Library (EWL), together with its tailored infrastructure platform, is a highly opinionated foundation for web-based enterprise software.
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 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 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.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Aspose.Pdf:
Aspose.Words for .NET examples, plugins and showcases
.NET Library for Datadog APM
[WIP] 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.