Work with PDF pages in C++

Contents
[ ]

Add, delete, extract, move, resize, crop, rotate, and stamp PDF pages and configure headers and footers using Aspose.PDF for C++.

  • Add Pages — Add blank pages, insert a page at a specific position, or copy a page from another PDF using Aspose.PDF for C++.
  • Add Headers and Footers — Add text, images, HTML, LaTeX, tables, and page-number placeholders to PDF headers and footers using Aspose.PDF for C++.
  • Change Page Size — Read PDF page dimensions, compare rectangles with and without rotation, and set a page size using Aspose.PDF for C++.
  • Crop Pages — Change PDF page boxes or crop the first page to its first detected image placement using Aspose.PDF for C++.
  • Delete Pages — Remove one page or a selected set of pages from a PDF document using Aspose.PDF for C++.
  • Extract Pages — Copy selected PDF pages into a new document while retaining the input file using Aspose.PDF for C++.
  • Get and Set Page Properties — Inspect page counts, page boxes, rotation, and color types, and calculate a generated document’s page count before saving with Aspose.PDF for C++.
  • Move Pages — Move pages to a new PDF or move a page to the end of its original document using Aspose.PDF for C++.
  • Rotate Pages — Set the rotation of every PDF page to 90 degrees using Aspose.PDF for C++.
  • Stamping — Add image, text, page-number, and PDF-page stamps.