UnsignedContent

UnsignedContent

Overview

UnsignedContent is a class in Aspose.PDF FOSS for Python.

Container for unsigned content (pages, form fields, annotations).

This class provides 8 methods for working with UnsignedContent objects in Python programs. Available methods include: __init__, add_annotation, add_form_field, add_page, remove_annotation, remove_form_field, remove_page, reset. All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: annotations, form_fields, pages.

Properties

NameTypeAccessDescription
pageslist[Any]ReadGets the pages.
form_fieldslist[Any]ReadGets the form fields.
annotationslist[Any]ReadGets the annotations.

Methods

SignatureDescription
__init__()Initialize UnsignedContent with optional collections.
add_page(page: Any)Add a page to the unsigned content.
remove_page(page: Any)Remove a page from the unsigned content if present.
add_form_field(field: Any)Add a form field to the unsigned content.
remove_form_field(field: Any)Remove a form field from the unsigned content if present.
add_annotation(annotation: Any)Add an annotation to the unsigned content.
remove_annotation(annotation: Any)Remove an annotation from the unsigned content if present.
reset()Reset all collections to empty lists.

See Also