Initializes a new instance of the PdfFormFieldSignOptions class with FormField signature.
def__init__(self,signature):...
Parameter
Type
Description
signature
FormFieldSignature
Form Field signature object.
Example
fromgroupdocs.signatureimportSignaturefromgroupdocs.signature.optionsimportFormFieldSignOptionsfromgroupdocs.signature.domainimportTextFormFieldSignaturewithSignature("sample.pdf")assignature:text_field=TextFormFieldSignature("FieldText","Value1")options=FormFieldSignOptions(text_field)options.left=100options.top=400options.width=200options.height=20result=signature.sign("signed_form_field.pdf",options)forfieldinresult.succeeded:print(f"Added form field '{field.name}' with value '{field.value}'")