Aspose.PDF.Cpp 21.2.0

Aspose.PDF for C++ is a native C++ library that enables the developers to add PDF handling capabilities to their C++ applications. The library allows to perform a wide range of document processing tasks including creation of PDF files, form processing, text and page manipulation, management of annotations, attachments, bookmarks, custom font handling and much more.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.PDF.Cpp -Version 21.2.0
dotnet add package Aspose.PDF.Cpp --version 21.2.0
<PackageReference Include="Aspose.PDF.Cpp" Version="21.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 21.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.PDF.Cpp, 21.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=21.2.0

// Install Aspose.PDF.Cpp as a Cake Tool
#tool nuget:?package=Aspose.PDF.Cpp&version=21.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Version 21.2 Nuget
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

C++ PDF Library: Create, View, Annotate, Edit PDF Documents

Aspose.PDF for C++ is a native C++ library that allows creating, process, edit, and convert PDF documents without installing Adobe Acrobat®.

Aspose. Pdf C++ Processing Features

Read & Write PDF & Other Formats

Fixed Layout: PDF, PDF/A

Save PDF Documents As

Microsoft Word: DOC, DOCX
Images: JPEG, PNG, BMP, SVG
Other: TeX.

Extract Text from a PDF Document

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

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Version 21.2 Nuget
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

C++ PDF Library: Create, View, Annotate, Edit PDF Documents

Aspose.PDF for C++ is a native C++ library that allows creating, process, edit, and convert PDF documents without installing Adobe Acrobat®.

Aspose. Pdf C++ Processing Features

Read & Write PDF & Other Formats

Fixed Layout: PDF, PDF/A

Save PDF Documents As

Microsoft Word: DOC, DOCX
Images: JPEG, PNG, BMP, SVG
Other: TeX.

Extract Text from a PDF Document

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

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/pdf/cpp/aspose-pdf-for-cpp-21-2-release-notes

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 History

Version Downloads Last updated
21.4.0 21 4/15/2021
21.3.0 84 3/16/2021
21.2.0 139 2/16/2021
21.1.0 210 1/22/2021
20.12.0 447 12/19/2020
20.11.0 395 11/18/2020
20.10.0 393 10/21/2020
20.9.0 418 9/21/2020
20.8.0 416 8/24/2020
20.7.2 496 8/4/2020
20.7.1 419 8/4/2020
20.7.0 495 7/17/2020
20.6.0 538 6/18/2020
20.5.0 486 5/21/2020
20.4.0 631 4/22/2020
20.3.0 661 3/16/2020
20.2.0 649 2/17/2020
20.1.0 468 1/20/2020
19.12.1 658 12/17/2019
19.12.0 480 12/16/2019
19.11.0 3,393 11/19/2019
19.10.0 334 10/18/2019
19.9.0 370 9/13/2019
19.8.0 457 8/14/2019
19.7.0 394 7/14/2019
19.6.0 378 6/23/2019
19.5.0 486 5/15/2019
19.4.0 553 4/14/2019
19.3.0 494 3/15/2019
19.2.0 585 2/22/2019
19.1.0 586 1/30/2019
18.12.0 653 12/27/2018
18.11.0 22,307 11/30/2018
18.4.0 1,079 4/28/2018
18.3.0 789 3/28/2018
18.2.1 895 2/26/2018
18.2.0 729 2/26/2018