Add Footer to PDF using CLI

Add Footer to PDF File using Aspose.PDF CLI.

Add Footers to PDF Document Using CLI

In order to add footers into PDF file, we’ll use Aspose.PDF CLI API. The tool is powered by the Aspose.PDF for C++ library and is available for different operating systems including macOS, Linux, and Windows. You can download its versions directly from Aspose.PDF CLI App. Working with command lines is simple and clear. Just use the command line to execute specific commands related to PDF processing. Choose from a range of available functionalities (e.g., text extraction, encryption, adding watermarks, etc) to perform on the PDF.

Steps to add Footer to PDF using CLI


You need Aspose.PDF CLI to try the example in your environment.

  1. Open a PDF document using Document object.
  2. Create a Stamp and define its properties.
  3. Add the Stamp to Page using AddStamp method.
  4. Save the PDF file.

Add Image in Footer of PDF File - CLI

This sample code shows how to add image in footer of PDF


    asposepdftool background <PDF-file> <image-file> [result-file]