PdfFileStamp

Overview

PdfFileStamp is a class in Aspose.PDF FOSS for Python. Inherits from: _BoundFacade.

Stamps, running heads and page numbers on the bound document.

This class declares 4 methods for PdfFileStamp objects in Python programs. Available methods include: add_footer, add_header, add_page_number, add_stamp. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.

Methods

SignatureDescription
add_stamp(stamp: Any, page_numbers: Any) → boolPut stamp on the pages named, or on every page.
add_header(text: str, font_size: float, margin: float, page_numbers: Any) → boolPut text along the top of the pages named.
add_footer(text: str, font_size: float, margin: float, page_numbers: Any) → boolPut text along the bottom of the pages named.
add_page_number(template: str, starting_number: int, font_size: float, margin: float, page_numbers: Any) → boolNumber the pages named; template takes {page} and {total}.

See Also