Search for Electronic Signatures in Document
Leave feedback
Electronically signed documents can be searched for specific signatures for different purposes, such as signature properties review, verification, and analysis.
GroupDocs.Signature for Python via .NET API allows you to search signatures within documents based on various search filters and returns a list of electronic signatures that match the search criteria.
Here’s a basic example of how to search for signatures in a document using Python:
importgroupdocs.signatureassignaturefromgroupdocs.signature.optionsimportTextSearchOptions# Initialize signaturewithsignature.Signature("sample.pdf")assign:# Create search optionssearch_options=TextSearchOptions()# Search for signaturesresult=sign.search(search_options)# Process found signaturesfortext_signatureinresult:print(f"Found text signature: {text_signature.text}")print(f"Page number: {text_signature.page_number}")print(f"Position: X={text_signature.left}, Y={text_signature.top}")
The following articles discover how to find e-signatures of different types inside documents: