See the version list below for details.
dotnet add package Aspose.PDF --version 22.5.0
NuGet\Install-Package Aspose.PDF -Version 22.5.0
<PackageReference Include="Aspose.PDF" Version="22.5.0" />
paket add Aspose.PDF --version 22.5.0
#r "nuget: Aspose.PDF, 22.5.0"
// Install Aspose.PDF as a Cake Addin #addin nuget:?package=Aspose.PDF&version=22.5.0 // Install Aspose.PDF as a Cake Tool #tool nuget:?package=Aspose.PDF&version=22.5.0
Convert PDF to Doc & PDF to Excel® .NET API
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.
What's new in v22.5.0
Insert Table in PDF Documents
Implemented various options for placing tables within document pages.
Resize PDF containing Annotations
It was observed that resizing a PDF with annotations resulted in Errors in the output file. This issue has now been resolved.
Improved PDF to DOC Conversion
This release of the API offers the fixes to the following issues regarding the PDF to DOC conversion:
- Hyperlinks were missing in converted file. It has been fixed.
- Processing time was long. The PDF to DOC conversion processing time has now been reduced.
- Text was being rendered incorrectly. This issue has been resolved now.
Improved HTML to PDF Conversion
This release of the API offers the fixes to various issues regarding the HTML to PDF conversion. Some of those issues are as following:
- Margins were added only to the first page when used
- Background color of body was not working.
- CSS flex property was not working.
- Tables were not formatting properly when added to the PDF.
OutOfMemoryExceptionoccurred when margins were specified.
- HTML was not being properly converted to PDF.
- HTML to PDF conversion performance issue.
startIndexcannot be larger than length of string exception.
- CSS properties for word breaking were not working.
Convert Signed PDF to JPG
It was observed that while converting PDF to JPG, an exception occurred if PDF document is signed. This issue has now been resolved.
Faster TIFF to PDF Conversion
TIFF to PDF conversion was taking too much time. This issue has now been resolved.
Improved PDF to Excel® & PDF to PNG Conversion
While exporting PDF to Excel® it was observed that the column data in multiple rows was being merged into one cell. This issue has been resolved.
Also during PDF to PNG format export a blank image was being produced. This issue has also been resolved.
For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.PDF for .NET 22.5 Release Notes.
Read & Write PDF & Other Formats
Fixed Layout: PDF, XPS
Markup: HTML, XML
Vector Graphics: SVG
Save PDF Documents As
Microsoft Word: DOC, DOCX
Microsoft Excel: XLS, XLSX
Microsoft PowerPoint: PPTX
Image: JPEG, PNG, BMP, GIF, TIFF
eBook: MobiXML (MOBI)
Electronic Publishing: PS
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.
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||Versions 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.|
|.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||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 (18)
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 (2)
Showing the top 2 popular GitHub repositories that depend on Aspose.PDF:
Aspose.Words for .NET examples, plugins and showcases
Aspose.PDF for .NET examples, plugins and showcase projects