Represents a signature form field in a PDF document. Signature fields are used for electronic signatures.

from nutrient import PdfSignatureField

Methods

get_child

def get_child(self, index: int) -> PdfFormField

Parameters:

NameTypeDescription
indexint

Returns: PdfFormField


get_widget

def get_widget(self, index: int) -> PdfWidgetAnnotation

Parameters:

NameTypeDescription
indexint

Returns: PdfWidgetAnnotation


remove_child_at

def remove_child_at(self, index: int) -> None

Parameters:

NameTypeDescription
indexint

set_is_read_only

def set_is_read_only(self, value: bool) -> None

Parameters:

NameTypeDescription
valuebool

set_is_required

def set_is_required(self, value: bool) -> None

Parameters:

NameTypeDescription
valuebool

set_value

def set_value(self, value: str) -> None

Parameters:

NameTypeDescription
valuestr

Properties

child_count

@property
def child_count(self) -> int

Type: int

Read-only property.


default_value

@property
def default_value(self) -> str

Type: str

Read-only property.


field_type

@property
def field_type(self) -> PdfFormFieldType

Type: PdfFormFieldType

Read-only property.


full_name

@property
def full_name(self) -> str

Type: str

Read-only property.


is_read_only

@property
def is_read_only(self) -> bool

Type: bool

Read-only property.


is_required

@property
def is_required(self) -> bool

Type: bool

Read-only property.


is_signed

@property
def is_signed(self) -> bool

Gets whether the signature field has been signed.

Type: bool

Read-only property.


is_terminal

@property
def is_terminal(self) -> bool

Type: bool

Read-only property.


name

@property
def name(self) -> str

Type: str

Read-only property.


parent

@property
def parent(self) -> PdfFormField

Type: PdfFormField

Read-only property.


value

@property
def value(self) -> str

Type: str

Read-only property.


widget_count

@property
def widget_count(self) -> int

Type: int

Read-only property.