GroupDocs.Signature for .NET

Search for digital signatures in PDF

Seamlessly extract a comprehensive list of electronic signatures embedded across various formats like PDFs, Word, Excel, Presentations, and Images, all powered by GroupDocs.Signature for .NET.

How to search PDF signatures using C#

GroupDocs.Signature offers a robust engine for locating digital signatures within PDF files. .NET developers can effortlessly enhance their applications with our solution.

  1. Supply the PDF file path for the signature search.
  2. Employ SearchOptions to refine the search criteria.
  3. Invoke the Search method to retrieve the results.
  4. Assess the list of identified signatures.
// Initialize a Signature object with the specified document path
using (Signature signature = new Signature("input.pdf"))
{
    // Create an instance of TextSearchOptions to encompass all pages
    TextSearchOptions options = new TextSearchOptions()
    {
        AllPages = true
    };

    // Execute a search to identify any text-based signatures in the document
    List<TextSignature> signatures = signature.Search<TextSignature>(options);
    Console.WriteLine($"\nSource document contains following text signature(s).");

    // Compile a list of detected signatures for detailed examination               
    foreach (TextSignature textSignature in signatures)
    {
        Console.WriteLine($"Found Text signature at page {textSignature.PageNumber} with type
            [{textSignature.SignatureImplementation}] and text '{textSignature.Text}'.");
    }
}
dotnet add package GroupDocs.Signature
click to copy
copied
More examples Documentation

Complete document signing ecosystem

Discover an advanced, feature-rich document signing solution, specifically designed to enhance and secure your documents with multiple signature types across various formats.

Signature search and management

Sign and secure business documents

Add digital signatures to any position within a document. GroupDocs.Signature supports an array of signature types, including text, images, barcodes, metadata, stamps, and digital certificates, ensuring document authenticity and compliance.

Comprehensive signature management

After signing, leverage the search feature to retrieve all embedded signatures. Modify or delete signatures as needed, providing you with complete control over document integrity.

Safeguard your document’s integrity

Utilize advanced tools to manage hidden metadata embedded within documents. Add or remove metadata entries and apply corporate digital certificates to protect against unauthorized edits and ensure document authenticity.

Search image signatures

This example illustrates the process of detecting an image signature within a specified document.

C#

// Provide the source document as an argument to the constructor
using (Signature signature = new Signature("input.pdf"))
{
    // Search for any signatures of the text type
    List<ImageSignature> signatures = signature.Search<ImageSignature>(SignatureType.Image);
    Console.WriteLine($"\nSource document contains following image signature(s).");

    // Present the results with detailed properties of the identified signatures
    foreach (ImageSignature imageSignature in signatures)
    {
          Console.WriteLine($"Found Image signature at page {imageSignature.PageNumber} 
          and size {imageSignature.Size}.");
    }
}
dotnet add package GroupDocs.Signature
click to copy
copied
More examples Documentation

Explore GroupDocs.Signature for .NET capabilities

GroupDocs.Signature for .NET delivers cutting-edge functionality for digital document signing. With support for over 60 file formats, including PDFs, MS Office documents, Images, and ZIP files, it allows you to add, search, verify, modify, or remove various signatures, such as text, images, barcodes, QR codes, digital certificates, and stamps.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Signature for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Core functionalities

Our API offers extensive flexibility, enabling users to sign documents and conduct comprehensive post-signing operations, such as searching, verifying, and modifying signatures.

Retrieve signatures from a variety of file formats

The GroupDocs.Signature for .NET API empowers you to extract and manage signatures from a wide array of document types. Effortlessly retrieve embedded signatures from all major file formats for further analysis or processing.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English