Work with PDF facades in C++
Aspose.PDF for C++ provides facade classes for common PDF operations such as filling forms, merging files, replacing content, extracting resources, and applying stamps. These classes are in the Aspose::Pdf::Facades namespace.
Facades provide a simpler entry point for common workflows such as merging files, filling forms, applying security, and stamping pages. Choose the class that matches your task, then follow its tutorials and examples.
Many facades use BindPdf() to open a file, stream, or Document and Save() to write a result. Others accept input and output paths directly. Follow the workflow shown by the example for the class you choose.
Facades sections
- Split, merge, and rearrange PDF pages with PdfFileEditor.
- Edit PDF content and interactive elements with PdfContentEditor.
- Inspect, update, and transfer annotations with PdfAnnotationEditor.
- Create and manage PDF bookmarks with PdfBookmarkEditor.
- Sign, certify, and verify PDF documents with PdfFileSignature.
- Render PDF pages and combine images with PdfConverter.
- Extract PDF text, images, and attachments with PdfExtractor.
- Add images and formatted text to PDF pages with PdfFileMend.
- Create and update form fields with FormEditor.
- Inspect document information and metadata with PdfFileInfo.
- Change PDF page properties with PdfPageEditor.
- Configure passwords and document privileges with PdfFileSecurity.
- Read and update XMP properties with PdfXmpMetadata.
- Fill forms and exchange field data with Form.
- Build reusable PDF stamps with Stamp.
- Add headers, footers, stamps, and page numbers with PdfFileStamp.
Popular PDF facade workflows
- Merge, split, extract, and rearrange PDF pages.
- Fill forms and exchange FDF, XFDF, or XML field data.
- Edit annotations, bookmarks, attachments, and text.
- Apply encryption and privileges, or sign and verify PDFs.
- Add stamps, headers, footers, and page numbers.
- Render pages, extract resources, and inspect document metadata.
Common PDF tasks covered in this section
Start with the class links above to find the relevant guides. Each guide explains the task, input requirements, and C++ API calls used by its examples.