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
| Signature | Description |
|---|---|
add_stamp(stamp: Any, page_numbers: Any) → bool | Put stamp on the pages named, or on every page. |
add_header(text: str, font_size: float, margin: float, page_numbers: Any) → bool | Put text along the top of the pages named. |
add_footer(text: str, font_size: float, margin: float, page_numbers: Any) → bool | Put text along the bottom of the pages named. |
add_page_number(template: str, starting_number: int, font_size: float, margin: float, page_numbers: Any) → bool | Number the pages named; template takes {page} and {total}. |