Aspose.PDF.Cpp 20.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 20.2.0
dotnet add package Aspose.PDF.Cpp --version 20.2.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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

Release Notes

https://docs.aspose.com/display/pdfcpp/Aspose.PDF+for+CPP+20.2+Release+Notes

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.3.0 44 3/16/2020
20.2.0 122 2/17/2020
20.1.0 74 1/20/2020
19.12.1 295 12/17/2019
19.12.0 102 12/16/2019
19.11.0 3,046 11/19/2019
19.10.0 91 10/18/2019
19.9.0 127 9/13/2019
19.8.0 219 8/14/2019
19.7.0 168 7/14/2019
19.6.0 154 6/23/2019
19.5.0 251 5/15/2019
19.4.0 299 4/14/2019
19.3.0 277 3/15/2019
19.2.0 368 2/22/2019
19.1.0 307 1/30/2019
18.12.0 302 12/27/2018
18.11.0 22,005 11/30/2018
18.4.0 751 4/28/2018
18.3.0 469 3/28/2018
18.2.1 566 2/26/2018
18.2.0 417 2/26/2018