Aspose.PDF.Cpp 20.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.PDF.Cpp --version 20.2.0
NuGet\Install-Package Aspose.PDF.Cpp -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.Cpp" 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.Cpp --version 20.2.0
#r "nuget: Aspose.PDF.Cpp, 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.Cpp as a Cake Addin
#addin nuget:?package=Aspose.PDF.Cpp&version=20.2.0

// Install Aspose.PDF.Cpp as a Cake Tool
#tool nuget:?package=Aspose.PDF.Cpp&version=20.2.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

Aspose::Pdf::Facades Processing Features

APIs Added 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

Please refer to Aspose.PDF for C++ API Reference for more insights about the newly added properties.

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 Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
24.3.0 1,358 3/18/2024
24.2.1 1,342 2/23/2024
24.1.0 4,383 1/20/2024
23.12.0 1,919 12/20/2023
23.11.0 2,481 11/21/2023
23.10.0 2,345 10/20/2023
23.9.0 2,528 9/20/2023
23.8.0 3,304 8/17/2023
23.7.0 3,446 7/25/2023
23.6.0 3,436 6/20/2023
23.5.0 5,516 5/22/2023
23.4.0 4,128 4/17/2023
23.3.0 8,679 3/20/2023
23.2.0 5,890 2/20/2023
23.1.0 4,902 1/23/2023
22.12.1 8,216 12/28/2022
22.11.0 5,452 11/22/2022
22.10.1 7,261 10/21/2022
22.9.0 5,337 9/15/2022
22.8.0 6,408 8/17/2022
22.7.0 6,878 7/22/2022
22.6.0 6,996 6/21/2022
22.5.0 6,353 5/24/2022
22.4.0 7,295 4/25/2022
22.3.0 7,001 3/21/2022
22.2.0 7,008 2/21/2022
22.1.0 2,498 1/20/2022
21.12.0 4,929 12/20/2021
21.11.0 9,565 11/17/2021
21.10.0 7,036 10/18/2021
21.8.0 9,671 8/13/2021
21.7.0 4,666 7/16/2021
21.6.0 5,830 6/17/2021
21.5.1 1,394 5/18/2021
21.5.0 3,153 5/18/2021
21.4.0 8,184 4/15/2021
21.3.0 4,901 3/16/2021
21.2.0 6,461 2/16/2021
21.1.0 6,338 1/22/2021
20.12.0 6,346 12/19/2020
20.11.0 5,456 11/18/2020
20.10.0 4,604 10/21/2020
20.9.0 4,500 9/21/2020
20.8.0 4,622 8/24/2020
20.7.2 3,990 8/4/2020
20.7.1 1,611 8/4/2020
20.7.0 6,977 7/17/2020
20.6.0 7,462 6/18/2020
20.5.0 4,926 5/21/2020
20.4.0 6,577 4/22/2020
20.3.0 5,140 3/16/2020
20.2.0 7,372 2/17/2020
20.1.0 1,934 1/20/2020
19.12.1 2,412 12/17/2019
19.12.0 1,920 12/16/2019
19.11.0 4,837 11/19/2019
19.10.0 1,392 10/18/2019
19.9.0 1,588 9/13/2019
19.8.0 1,672 8/14/2019
19.7.0 1,614 7/14/2019
19.6.0 1,542 6/23/2019
19.5.0 1,641 5/15/2019
19.4.0 1,694 4/14/2019
19.3.0 1,582 3/15/2019
19.2.0 1,636 2/22/2019
19.1.0 1,657 1/30/2019
18.12.0 1,604 12/27/2018
18.11.0 23,505 11/30/2018
18.4.0 2,115 4/28/2018
18.3.0 1,832 3/28/2018
18.2.1 2,591 2/26/2018
18.2.0 1,868 2/26/2018