GroupDocs.Signature for Python via .NET

Effortlessly update PDF signatures

Gain full control to edit a variety of electronic signatures in major formats such as PDF, Word, Excel, presentations, and images with the advanced features of GroupDocs.Signature for Python via .NET.

How to edit signatures in PDF using Python

GroupDocs.Signature allows Python via .NET developers to edit text signatures already embedded in PDF files. Enhance your Python via .NET applications with advanced functionality.

  1. Load the PDF document into the Signature instance.
  2. Retrieve a list of all signatures in the document.
  3. Edit the content of any identified signature.
  4. Verify the signature modification results.
import groupdocs.signature as sg

def run():

    # Create a Signature object with the document path
    with sg.Signature('input.pdf') as signature:

        # Search for text signatures in the document
        options = sg.TextSearchOptions()
        signatures = signature.Search(options)

        if signatures.Count > 0:

            # Update the content of the first found signature
            textSignature = signatures[0]
            textSignature.Text = "New Text"
            result = signature.Update(textSignature)

            # Verify the results of the signature update
            if result:
                print("\nSignature was updated successfully")
pip install groupdocs-signature-net
click to copy
copied
More examples Documentation

Complete signature management for documents

GroupDocs.Signature for Python via .NET simplifies your document workflow by enabling you to easily add, update, search, verify, or remove signatures across all major file formats.

Advanced signature editing

Flexible document signing

Apply a wide range of signatures, including text, images, barcodes, and stamps, to any section of your document. Modify embedded metadata like EXIF data in images, and secure documents against unauthorized changes using digital certificates.

Signature search and validation

Easily verify signatures with our powerful tools. Retrieve a full list of signatures in a document, ensuring quick and accurate verification.

Simplified signature updates

Update previously embedded signatures effortlessly. Adjust the content, style, placement, or any other aspect of the signature to meet new requirements.

Effortless signature removal

Gain full control over signature management, with the ability to remove any type of signature from your document, giving you total flexibility over its content.

Modify barcode signatures

This example demonstrates how to programmatically edit barcode signatures in a document.

Python

import groupdocs.signature as sg

def run():

    # Load a document that contains barcode signatures
    with sg.Signature('input.pdf') as signature:

        # Search for all existing barcode signatures
        options = sg.BarcodeSearchOptions()
        signatures = signature.Search(options)

        if signatures.Count > 0:

            # Change the position of the first found barcode and save the document
            barcodeSignature = signatures[0]
            barcodeSignature.Left = 100
            barcodeSignature.Top = 100
            result = signature.Update(barcodeSignature)

            # Verify that the barcode modification was successful
            if result:
                print("\nBarcode was updated successfully.")
pip install groupdocs-signature-net
click to copy
copied
More examples Documentation

Unlock the capabilities of GroupDocs.Signature for Python via .NET

GroupDocs.Signature for Python via .NET not only offers robust document signing but also allows you to easily modify existing signatures. Adjust signature properties in widely-used formats like PDF, Word, Excel, and PowerPoint presentations with minimal effort.
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.

Explore the full feature set

Browse the extensive list of signature formats and operations supported by our platform.

Modify signatures across multiple formats

With the Python via .NET API, you can easily modify signed documents. Extract and update signature data from supported formats, maintaining full control over your document’s integrity.

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