C++ API to Process & Manipulate PDF Files


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
Aspose::Pdf::Facades
Processing Features
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.
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);
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