PdfAnnotationEditor

PdfAnnotationEditor

Overview

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

Reading, deleting and flattening annotations across pages.

This class declares 4 methods for PdfAnnotationEditor objects in Python programs. Available methods include: delete_annotations, extract_annotations, flatten_annotations, generate_appearances. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.

Methods

SignatureDescription
extract_annotations(page_numbers: Any, subtypes: Any) → list[Any]Every annotation on the pages named, optionally of certain subtypes.
delete_annotations(subtype: Any, page_numbers: Any) → intDelete annotations on the pages named; subtype narrows to one kind.
generate_appearances(force: bool) → intSynthesise the missing /AP /N appearances.
flatten_annotations() → boolBake annotations – and form fields – into the page content.

See Also