Aspose.PDF.Cpp
                              
                            
                                20.3.0
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    See the version list below for details.
dotnet add package Aspose.PDF.Cpp --version 20.3.0
NuGet\Install-Package Aspose.PDF.Cpp -Version 20.3.0
<PackageReference Include="Aspose.PDF.Cpp" Version="20.3.0" />
<PackageVersion Include="Aspose.PDF.Cpp" Version="20.3.0" />
<PackageReference Include="Aspose.PDF.Cpp" />
paket add Aspose.PDF.Cpp --version 20.3.0
#r "nuget: Aspose.PDF.Cpp, 20.3.0"
#:package Aspose.PDF.Cpp@20.3.0
#addin nuget:?package=Aspose.PDF.Cpp&version=20.3.0
#tool nuget:?package=Aspose.PDF.Cpp&version=20.3.0
C++ API to Process & Manipulate PDF Files
Aspose.PDF for C++ is a native C++ library that allows to create, process, manipulate and convert PDF documents without installing Adobe Acrobat®.
Aspose::Pdf (DOM) Processing Features
- Set how PDF pages display in the application.
 - Embed the font information into PDF file.
 - Set zoom factor of PDF file.
 - Set a particular page to be displayed when the PDF document is opened.
 - Convert PDF documents to other supported file formats.
 - Work with all the attachments of the PDF file.
 - Add images to PDF document.
 - Change password of a PDF file.
 - Decrypt a PDF document.
 - Search a particular phrase and change its style in PDF file.
 
Aspose::Pdf::Facades Processing Features
- Add, update, delete, import, export and extract annotations of a PDF document.
 - Add bookmarks and child bookmarks to PDF files.
 - Configure various access privileges for the PDF document.
 - Extract text from all pages of a PDF file.
 
APIs Added in Version 20.3
- Class 
Aspose.Pdf.Annotations.CustomExplicitDestination - Method 
Aspose.Pdf.Annotations.CustomExplicitDestination.ToString - Property 
Aspose.Pdf.PclLoadOptions.BatchSize - Property 
Aspose.Pdf.PptxSaveOptions.CustomProgressHandler 
For the detailed notes, please visit Aspose.PDF for CPP 20.3 Release Notes.
Read & Write PDF & Other Formats
Fixed Layout: PDF, PDF/A
Save PDF Documents As
Microsoft Word: DOC, DOCX Images: JPEG, PNG, BMP, SVG
Getting Started with Aspose.PDF for C++
Are you ready to give Aspose.PDF for C++ a try? Simply execute Install-Package Aspose.PDF.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.PDF for C++ and want to upgrade the version, please execute Update-Package Aspose.PDF.Cpp to get the latest version.
Extract Text from a PDF Document with C++
Try the below code snippet to see how Aspose.PDF for C++ performs in your environment or check the GitHub Repository for other common usage scenarios.
auto extractor = MakeObject<Facades::PdfExtractor>();
extractor->BindPdf(u"template.pdf");
extractor->ExtractText();
auto memStream = MakeObject<IO::MemoryStream>();
extractor->GetText(memStream);
auto unicode = System::Text::Encoding::get_Unicode();
String allText = unicode->GetString(memStream->ToArray());
Console::WriteLine(allText);
Convert PDF to DOC Format
One of the most popular feature of Aspose.PDF for C++ 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 sample:
auto doc = MakeObject<Document>(u"template.pdf");
doc->Save(u"output.doc", MakeObject<DocSaveOptions>());
Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| native | native is compatible. | 
- 
                                                
- CodePorting.Native.Cs2Cpp.API (>= 20.3.0)
 
 
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Aspose.PDF.Cpp:
| Package | Downloads | 
|---|---|
| 
                                                        
                                                            Aspose.Total.Cpp
                                                        
                                                            
                                                         Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.  | 
                                                    
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | 
|---|---|---|
| 25.9.0 | 497 | 9/19/2025 | 
| 25.8.0 | 421 | 8/20/2025 | 
| 25.7.0 | 1,276 | 7/22/2025 | 
| 25.6.0 | 434 | 6/18/2025 | 
| 25.5.0 | 526 | 5/15/2025 | 
| 25.4.0 | 859 | 4/18/2025 | 
| 25.3.0 | 746 | 3/18/2025 | 
| 25.2.0 | 1,338 | 2/18/2025 | 
| 25.1.0 | 1,584 | 1/21/2025 | 
| 24.12.0 | 1,920 | 12/18/2024 | 
| 24.11.0 | 1,998 | 11/20/2024 | 
| 24.10.1 | 2,090 | 10/18/2024 | 
| 24.9.0 | 2,081 | 9/17/2024 | 
| 24.8.0 | 2,796 | 8/21/2024 | 
| 24.7.0 | 2,314 | 7/19/2024 | 
| 24.6.0 | 3,495 | 6/20/2024 | 
| 24.5.0 | 3,742 | 5/16/2024 | 
| 24.4.0 | 3,960 | 4/22/2024 | 
| 24.3.0 | 9,816 | 3/18/2024 | 
| 24.2.1 | 4,637 | 2/23/2024 | 
| 24.1.0 | 33,807 | 1/20/2024 | 
| 23.12.0 | 5,152 | 12/20/2023 | 
| 23.11.0 | 5,508 | 11/21/2023 | 
| 23.10.0 | 5,575 | 10/20/2023 | 
| 23.9.0 | 5,606 | 9/20/2023 | 
| 23.8.0 | 6,697 | 8/17/2023 | 
| 23.7.0 | 6,846 | 7/25/2023 | 
| 23.6.0 | 6,602 | 6/20/2023 | 
| 23.5.0 | 8,580 | 5/22/2023 | 
| 23.4.0 | 7,493 | 4/17/2023 | 
| 23.3.0 | 11,449 | 3/20/2023 | 
| 23.2.0 | 9,561 | 2/20/2023 | 
| 23.1.0 | 7,987 | 1/23/2023 | 
| 22.12.1 | 11,161 | 12/28/2022 | 
| 22.11.0 | 8,740 | 11/22/2022 | 
| 22.10.1 | 12,405 | 10/21/2022 | 
| 22.9.0 | 8,517 | 9/15/2022 | 
| 22.8.0 | 9,722 | 8/17/2022 | 
| 22.7.0 | 10,026 | 7/22/2022 | 
| 22.6.0 | 9,940 | 6/21/2022 | 
| 22.5.0 | 9,388 | 5/24/2022 | 
| 22.4.0 | 10,714 | 4/25/2022 | 
| 22.3.0 | 10,066 | 3/21/2022 | 
| 22.2.0 | 10,156 | 2/21/2022 | 
| 22.1.0 | 3,280 | 1/20/2022 | 
| 21.12.0 | 8,068 | 12/20/2021 | 
| 21.11.0 | 14,202 | 11/17/2021 | 
| 21.10.0 | 10,185 | 10/18/2021 | 
| 21.8.0 | 14,844 | 8/13/2021 | 
| 21.7.0 | 7,880 | 7/16/2021 | 
| 21.6.0 | 9,044 | 6/17/2021 | 
| 21.5.1 | 1,834 | 5/18/2021 | 
| 21.5.0 | 6,185 | 5/18/2021 | 
| 21.4.0 | 13,343 | 4/15/2021 | 
| 21.3.0 | 8,348 | 3/16/2021 | 
| 21.2.0 | 9,664 | 2/16/2021 | 
| 21.1.0 | 9,287 | 1/22/2021 | 
| 20.12.0 | 9,648 | 12/19/2020 | 
| 20.11.0 | 8,713 | 11/18/2020 | 
| 20.10.0 | 7,592 | 10/21/2020 | 
| 20.9.0 | 7,649 | 9/21/2020 | 
| 20.8.0 | 6,360 | 8/24/2020 | 
| 20.7.2 | 6,873 | 8/4/2020 | 
| 20.7.1 | 2,044 | 8/4/2020 | 
| 20.7.0 | 11,727 | 7/17/2020 | 
| 20.6.0 | 12,560 | 6/18/2020 | 
| 20.5.0 | 6,762 | 5/21/2020 | 
| 20.4.0 | 10,240 | 4/22/2020 | 
| 20.3.0 | 7,174 | 3/16/2020 | 
| 20.2.0 | 10,503 | 2/17/2020 | 
| 20.1.0 | 2,442 | 1/20/2020 | 
| 19.12.1 | 2,973 | 12/17/2019 | 
| 19.12.0 | 2,508 | 12/16/2019 | 
| 19.11.0 | 5,405 | 11/19/2019 | 
| 19.10.0 | 1,841 | 10/18/2019 | 
| 19.9.0 | 2,126 | 9/13/2019 | 
| 19.8.0 | 2,195 | 8/14/2019 | 
| 19.7.0 | 2,155 | 7/14/2019 | 
| 19.6.0 | 2,082 | 6/23/2019 | 
| 19.5.0 | 2,153 | 5/15/2019 | 
| 19.4.0 | 2,100 | 4/14/2019 | 
| 19.3.0 | 2,105 | 3/15/2019 | 
| 19.2.0 | 2,107 | 2/22/2019 | 
| 19.1.0 | 2,080 | 1/30/2019 | 
| 18.12.0 | 2,102 | 12/27/2018 | 
| 18.11.0 | 24,021 | 11/30/2018 | 
| 18.4.0 | 2,754 | 4/28/2018 | 
| 18.3.0 | 2,438 | 3/28/2018 | 
| 18.2.1 | 3,426 | 2/26/2018 | 
| 18.2.0 | 2,572 | 2/26/2018 |