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 SearchResult whose signatures property lists the electronic signatures that match the search criteria.
Here’s a basic example of how to search for signatures in a document using Python:
fromgroupdocs.signatureimportSignaturefromgroupdocs.signature.optionsimportTextSearchOptions# Open the signed documentwithSignature("signed.pdf")assignature:# Search for text signatures: pass a list of search optionsresult=signature.search([TextSearchOptions()])# Process found signaturesfortext_signatureinresult.signatures: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: