GroupDocs.Signature

Sign and verify with digital, barcode, QR-code, text, image, and stamp signatures — with a single, consistent API across .NET, Java, Node.js, and Python.

4 platforms 40+ formats Latest v26.10.0

Choose your platform selecting one updates the snippets below

.NETv26.9.0
dotnet add package GroupDocs.Signature
Javav26.5.0
com.groupdocs:groupdocs-signature
Node.jsv24.12.0
npm install @groupdocs/groupdocs.signature
Python via .NETv26.10.0
pip install groupdocs-signature-net

Getting started with .NET

using GroupDocs.Signature;
using GroupDocs.Signature.Options;
using System.Drawing;

// Select PDF document
using (Signature signature = new Signature("sample.pdf"))
{
    // Provide text
    var options = new TextSignOptions("John Smith")
    {
        // Set color
        ForeColor = Color.Red
    };

    // Sign document and save to file
    signature.Sign("signed.pdf", options);
}
import com.groupdocs.signature.Signature;
import com.groupdocs.signature.options.sign.TextSignOptions;
import java.awt.Color;

// Select PDF document
Signature signature = new Signature("sample.pdf");

// Provide text
TextSignOptions options = new TextSignOptions("John Smith");
options.setForeColor(Color.RED);

// Sign document and save to file
signature.sign("signed.pdf", options);
signature.dispose();
const groupdocs = require('@groupdocs/groupdocs.signature');

// Select the document to sign
const signature = new groupdocs.Signature("sample.pdf");

// Provide the text to sign with
const options = new groupdocs.TextSignOptions("John Smith");

// Sign the document and save to file
signature.sign("signed.pdf", options);
signature.dispose();
from groupdocs.pydrawing import Color
from groupdocs.signature import Signature
from groupdocs.signature.options import TextSignOptions


def sign_with_text():
    # Select PDF document
    with Signature("sample.pdf") as signature:

        # Provide text
        options = TextSignOptions("John Smith")

        # Set color
        options.fore_color = Color.red

        # Sign document and save to file
        signature.sign("signed.pdf", options)


if __name__ == "__main__":
    sign_with_text()

Popular classes & namespaces

Key capabilities

  • Digital, barcode & QR-code signatures
  • Text, image & stamp signatures
  • Verify & search signatures
  • Metadata signatures
  • Sign from stream
  • Multiple signatures per document

Supported formats

PDFWordExcelPowerPointImages

...plus OpenDocument, Photoshop, CorelDraw and more image formats.

Resources