Electronic Signature Types

GroupDocs.Signature for Python supports a wide range of electronic signature types that are listed below:

  • Barcode signatures
  • Digital signatures based on certificate files
  • Form-field signatures
  • Image signatures
  • Metadata signatures
  • QR-code signatures
  • Stamp signatures
  • Text signatures

Basic Usage Example

Here’s a simple example showing how to add a text signature to a document using Python:

from groupdocs.signature import Signature
from groupdocs.signature.options import TextSignOptions
from groupdocs.signature.domain import SignatureFont
from groupdocs.pydrawing import Color


def sign_with_text():
    with Signature("sample.pdf") as signature:
        # Create text signature options
        options = TextSignOptions("John Smith")

        # Set text signature position and size
        options.left = 100
        options.top = 100
        options.width = 200
        options.height = 50

        # Set text signature font and color
        font = SignatureFont()
        font.family_name = "Arial"
        font.size = 20
        font.bold = True
        options.font = font
        options.fore_color = Color.blue

        # Sign the document and save the result
        result = signature.sign("signed.pdf", options)
        print(f"Signed with {len(result.succeeded)} signature(s)")


if __name__ == "__main__":
    sign_with_text()

Supported Signature Types

The following articles contain detailed examples of how to eSign documents with each supported signature type:

  1. Text Signatures - Add text-based signatures with customizable fonts and styles
  2. Image Signatures - Insert image-based signatures from files or streams
  3. Digital Signatures - Apply secure digital signatures using certificates
  4. Barcode Signatures - Add various types of barcodes as signatures
  5. QR-Code Signatures - Insert QR codes with custom data
  6. Stamp Signatures - Apply stamp-like signatures with custom appearance
  7. Form Field Signatures - Add form fields to PDF documents and fill existing ones
  8. Metadata Signatures - Add metadata information as signatures
  9. Multiple Signatures - Sign a document with several signatures of different types at once

Each signature type supports various customization options and can be used in combination with other signature types to create complex document signing solutions.

More Resources

GitHub Examples

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online Apps

Along with the full-featured Python library, we provide simple but powerful free online apps.

To sign PDF, Word, Excel, PowerPoint, and other documents you can use the online apps from the GroupDocs.Signature App Product Family.

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.