Search for Electronic Signatures in Document

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Signature MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-signature -- dnx GroupDocs.Signature.Mcp --yes
Folders, licensing and more →

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:

from groupdocs.signature import Signature
from groupdocs.signature.options import TextSearchOptions

# Open the signed document
with Signature("signed.pdf") as signature:
    # Search for text signatures: pass a list of search options
    result = signature.search([TextSearchOptions()])

    # Process found signatures
    for text_signature in result.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: