GroupDocs.Signature for Python via .NET

E-sign PDF electronically

Use GroupDocs.Signature for Python via .NET to embed a variety of electronic signatures into your documents, ensuring compliance and data integrity across formats like PDFs, Word, Excel, presentations, and images.

Steps to e-sign PDF using Python

With GroupDocs.Signature, Python via .NET developers can seamlessly integrate signature functionality into PDF documents. Easily add customized signatures to your applications.

  1. Load the PDF file into the Signature instance.
  2. Use SignOptions to configure the signature settings.
  3. Customize signature properties like size, color, and content.
  4. Save the signed document to the desired location.
import groupdocs.signature as sg

def run():

    # Load the document into a Signature instance
    with sg.Signature('input.pdf') as signature:

        # Create a new QrCodeSignOptions object
        options = sg.QrCodeSignOptions("QR code text")

        # Set up all required options
        options.Left = 100
        options.Top = 100
        options.ForeColor = sg.Color.Red

        # Save the signed document to your system
        result = signature.Sign("output.pdf", options)
pip install groupdocs-signature-net
click to copy
copied
More examples Documentation

Advanced e-signature features for documents

Our e-signing API streamlines business processes by offering efficient ways to sign, validate, modify, and manage electronic signatures with full automation support.

E-signature Features

E-sign office documents

Easily place electronic signatures anywhere in your documents. Customize your content with digital certificates, barcodes, metadata, and visual elements, all while ensuring document security and authenticity.

Full signature management

Once a document is signed, you can view and manage all signatures. You can make updates or remove signatures as needed, ensuring complete control over the document.

Boost document security

Protect your documents with digital certificates. Embed or retrieve metadata to improve tracking, auditing, and compliance, ensuring the authenticity of your content.

How to add an image signature to a document

This example demonstrates how to apply an image signature to a specific page of a document.

Python

import groupdocs.signature as sg

def run():

    # Load the document you want to sign
    with sg.Signature('input.pdf') as signature:

        # Set the path to the image in the signature options
        options = sg.ImageSignOptions("image.jpg")

        # Define the size and placement of the signature on the target pages
        options.VerticalAlignment = sg.VerticalAlignment.Bottom
        options.HorizontalAlignment = sg.HorizontalAlignment.Right
        options.Height = 150
        options.Width = 200
        options.Margin = sg.Padding(50)
        options.AllPages = True

        # Apply the signature and save the signed document
        result = signature.Sign("output.pdf", options)
pip install groupdocs-signature-net
click to copy
copied
More examples Documentation

Overview of the GroupDocs.Signature for Python via .NET API

GroupDocs.Signature for Python via .NET provides a full suite of tools for adding electronic signatures to documents. Whether you need to sign, search, verify, update, or remove digital signatures, GroupDocs.Signature for Python via .NET makes it easy across multiple formats—PDFs, Word docs, Excel sheets, PowerPoint presentations, and various image formats—without needing third-party software.
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 our full feature set

We offer a wide range of signature options and operations for all your e-signature needs.

E-sign a wide range of file formats

With the Python via .NET API, you can electronically sign over 60 industry-standard formats, offering unparalleled flexibility in securing your business documents.

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