Ink Signatures

What Are Ink Signatures?

PSPDFKit for Windows supports signature form fields (pspdfkit/form-field/signature) that represent handwritten signatures and can be signed using ink annotation signatures.

Ink signatures are regular ink annotations that are automatically associated to a form field when their bounding box overlaps the form field’s bounding box.

Signature Form Field

User Interface

It’s possible to create an ink signature by clicking a signable form field or by using the main toolbar button for ink signatures.

When signing with a form element, the signature will be adapted to fit in the form element. If the signature is created via the toolbar button, the signature will instead be centered on the page.

When there are no stored signatures, tapping an empty signature form element shows a signature modal dialog, which is where you can sign a document by drawing an ink annotation for your signature.

Signature Creation

If there are already stored signatures, a signature picker is shown instead. This allows you to choose an existing signature or create a new one.

Signature Picker

Storing Signatures

When creating a new signature, checking the Store Signature option allows you to temporarily store the annotation for exporting later.

Store Signature

Stored ink signatures are available via the Signature Picker or the API method GetInkSignaturesAsync. This method returns a List of ink annotations:

var inkSignatures = await pdfView.Controller.GetInkSignaturesAsync();

Consult our Instant JSON guide for details on how to store the signatures.

Loading Signatures

It’s possible to preload a list of signature templates after a document is loaded:

// Load the signatures from somewhere.
var inkSignatures = new List<IAnnotation>

await pdfView.Controller.SetInkSignaturesAsync(inkSignatures);