Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.PDF for C++
Aspose.PDF for C++

Aspose.PDF for C++

Aspose Marketplace

|
524 clicks
| (0) | Free Trial
A native C++ library enabling the developers to add PDF processing capabilities to their C++ applications. API can be used to generate, read, convert and manipulate PDF files without Acrobat.
Get Started

C++ API to Process & Manipulate PDF Files

Nuget Nuget

banner

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

Aspose.PDF for C++ is a native C++ library that allows creating, processing, manipulating, and converting PDF documents without installing Adobe Acrobat®.

Aspose::Pdf (DOM) Processing Features

  • Set how PDF pages display in the application.
  • Embed the font information into the PDF file.
  • Set the zoom factor of the 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.

Read & Write PDF & Other Formats

Fixed Layout: PDF, PDF/A

Save PDF Documents As

Microsoft Word: DOC, DOCX
Images: JPEG, PNG, BMP, SVG

Get Started

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++

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

auto doc = MakeObject<Document>(u"template.pdf");
doc->Save(u"output.doc", MakeObject<DocSaveOptions>());

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft