Field

Overview

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

A field of an interactive form.

This class provides 2 methods for working with Field objects in Python programs. Available methods include: __init__, remove. All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: field_type, name, value.

Properties

NameTypeAccessDescription
namestrReadThe fully qualified name of the field.
valueAnyRead/WriteThe value of the field.
field_typestrReadThe field type, such as text, checkbox, or combobox.

Methods

SignatureDescription
__init__(form: Form, name: str, value: Any, field_type: str | None)Calls init(form, name, value, field_type) on this Field instance.
remove()FieldRemove this field and all of its widgets from the form.

See Also