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
| Signature | Description |
|---|---|
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) → int | Delete annotations on the pages named; subtype narrows to one kind. |
generate_appearances(force: bool) → int | Synthesise the missing /AP /N appearances. |
flatten_annotations() → bool | Bake annotations – and form fields – into the page content. |