Aspose.PDF for C++ is a native C++ library that allows to create, process, manipulate and convert PDF documents without installing Adobe Acrobat®.
Directory | Description |
---|---|
Examples | A collection of C++ examples that help you learn and explore the API features. |
Aspose::Pdf
(DOM) FeaturesAspose::Pdf::Facades
FeaturesFixed Layout: PDF, PDF/A
Microsoft Word: DOC, DOCX\ Images: JPEG, PNG, BMP, SVG\ Other: TeX.
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);
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 | Search | Free Support | Temporary License