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. |
- Embed the font information into PDF file.
- Set zoom factor of 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.
- Search a particular phrase and change its style in PDF file.
- 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.
- Extract text from all pages of a PDF file.
Fixed 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