Aspose.PDF.Cpp 20.1.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.1.0
dotnet add package Aspose.PDF.Cpp --version 20.1.0
<PackageReference Include="Aspose.PDF.Cpp" Version="20.1.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.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

PDF Processing Features

  • Generate PDF documents via API, XML or templates.
  • Create PDF forms and manage form fields.
  • Add, remove & replace text & images on any PDF page.
  • Set PDF page margins, zoom factor, transition type & other attributes.
  • Custom font handling for PDF documents.
  • Manage attachments, watermarks, bookmarks, annotation & metadata.
  • Split, merge, insert or extract PDF pages.
  • Convert PDF pages or whole documents to images.
  • Set security constraints on PDF files.

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

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

PDF Processing Features

  • Generate PDF documents via API, XML or templates.
  • Create PDF forms and manage form fields.
  • Add, remove & replace text & images on any PDF page.
  • Set PDF page margins, zoom factor, transition type & other attributes.
  • Custom font handling for PDF documents.
  • Manage attachments, watermarks, bookmarks, annotation & metadata.
  • Split, merge, insert or extract PDF pages.
  • Convert PDF pages or whole documents to images.
  • Set security constraints on PDF files.

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.1+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.1.0 38 1/22/2021
20.12.0 225 12/19/2020
20.11.0 98 11/18/2020
20.10.0 129 10/21/2020
20.9.0 164 9/21/2020
20.8.0 170 8/24/2020
20.7.2 221 8/4/2020
20.7.1 143 8/4/2020
20.7.0 212 7/17/2020
20.6.0 255 6/18/2020
20.5.0 231 5/21/2020
20.4.0 404 4/22/2020
20.3.0 407 3/16/2020
20.2.0 440 2/17/2020
20.1.0 205 1/20/2020
19.12.1 428 12/17/2019
19.12.0 234 12/16/2019
19.11.0 3,170 11/19/2019
19.10.0 245 10/18/2019
19.9.0 278 9/13/2019
19.8.0 355 8/14/2019
19.7.0 295 7/14/2019
19.6.0 279 6/23/2019
19.5.0 389 5/15/2019
19.4.0 416 4/14/2019
19.3.0 402 3/15/2019
19.2.0 491 2/22/2019
19.1.0 432 1/30/2019
18.12.0 434 12/27/2018
18.11.0 22,138 11/30/2018
18.4.0 917 4/28/2018
18.3.0 624 3/28/2018
18.2.1 718 2/26/2018
18.2.0 573 2/26/2018
Show less